depot/third_party/nixpkgs/pkgs/by-name/ic/ic-keysmith/package.nix

27 lines
634 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "keysmith";
version = "1.6.2";
src = fetchFromGitHub {
owner = "dfinity";
repo = "keysmith";
rev = "v${version}";
sha256 = "sha256-+wYWIoPYc7qpTRS4Zlxp50Up8obZOmfQpiT0SWwVJE0=";
};
vendorHash = "sha256-rIH10TRWOgmJM8bnKXYTsmmAtlrMMxHc8rnaCmMJGdw=";
meta = with lib; {
description = "Hierarchical Deterministic Key Derivation for the Internet Computer";
homepage = "https://github.com/dfinity/keysmith";
license = licenses.mit;
maintainers = with maintainers; [ imalison ];
mainProgram = "keysmith";
};
}