setbfree: 0.8.12 -> 0.8.13 (#372025)
[NixPkgs.git] / pkgs / by-name / me / melt / package.nix
blob39284acc152216026843f2f77379aed8a8d05907
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "melt";
9   version = "0.6.2";
11   src = fetchFromGitHub {
12     owner = "charmbracelet";
13     repo = "melt";
14     rev = "v${version}";
15     sha256 = "sha256-rZJSjWmcVPri/BmGrm+fDi2WgtPReQ9lesmBhMsdddo=";
16   };
18   vendorHash = "sha256-ZCHPbLjf2rTlg+Nj3v+XRW2xDN0qqhnlrF4sXNrGH/E=";
20   ldflags = [
21     "-s"
22     "-w"
23     "-X=main.Version=${version}"
24   ];
26   meta = with lib; {
27     description = "Backup and restore Ed25519 SSH keys with seed words";
28     mainProgram = "melt";
29     homepage = "https://github.com/charmbracelet/melt";
30     changelog = "https://github.com/charmbracelet/melt/releases/tag/v${version}";
31     license = licenses.mit;
32     maintainers = with maintainers; [ penguwin ];
33   };