depot/third_party/nixpkgs/pkgs/tools/security/melt/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

25 lines
722 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "melt";
version = "0.5.0";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "melt";
rev = "v${version}";
sha256 = "sha256-ZDUvwBxPFE0RBgNGoZlU+LkyIXINZITqBnKDFnr59+Q=";
};
vendorSha256 = "sha256-vTSLyRdv4rAYvy/2S7NnQNs144wyJOLzFkyBBW0TRmo=";
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
meta = with lib; {
description = "Backup and restore Ed25519 SSH keys with seed words";
homepage = "https://github.com/charmbracelet/melt";
changelog = "https://github.com/charmbracelet/melt/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ penguwin ];
};
}