nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "keysmith";
9 version = "1.6.2";
10
11 src = fetchFromGitHub {
12 owner = "dfinity";
13 repo = "keysmith";
14 rev = "v${version}";
15 sha256 = "sha256-+wYWIoPYc7qpTRS4Zlxp50Up8obZOmfQpiT0SWwVJE0=";
16 };
17
18 vendorHash = "sha256-rIH10TRWOgmJM8bnKXYTsmmAtlrMMxHc8rnaCmMJGdw=";
19
20 meta = {
21 description = "Hierarchical Deterministic Key Derivation for the Internet Computer";
22 homepage = "https://github.com/dfinity/keysmith";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ imalison ];
25 mainProgram = "keysmith";
26 };
27}