2021-07-10 20:40:33 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "keysmith";
|
2022-08-14 11:02:56 +00:00
|
|
|
version = "1.6.2";
|
2021-07-10 20:40:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dfinity";
|
|
|
|
repo = "keysmith";
|
|
|
|
rev = "v${version}";
|
2022-08-14 11:02:56 +00:00
|
|
|
sha256 = "sha256-+wYWIoPYc7qpTRS4Zlxp50Up8obZOmfQpiT0SWwVJE0=";
|
2021-07-10 20:40:33 +00:00
|
|
|
};
|
|
|
|
|
2022-08-14 11:02:56 +00:00
|
|
|
vendorSha256 = "sha256-rIH10TRWOgmJM8bnKXYTsmmAtlrMMxHc8rnaCmMJGdw=";
|
2021-07-10 20:40:33 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|