depot/third_party/nixpkgs/pkgs/tools/security/ic-keysmith/default.nix

23 lines
599 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "keysmith";
version = "1.6.2";
src = fetchFromGitHub {
owner = "dfinity";
repo = "keysmith";
rev = "v${version}";
sha256 = "sha256-+wYWIoPYc7qpTRS4Zlxp50Up8obZOmfQpiT0SWwVJE0=";
};
vendorSha256 = "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 ];
};
}