Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
817 B
Nix
44 lines
817 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
python3,
|
|
unbound,
|
|
cctools,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "hsd";
|
|
version = "8.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "handshake-org";
|
|
repo = "hsd";
|
|
rev = "v${version}";
|
|
hash = "sha256-7hF8cJf9Oewfg5WvNpqQSrBZjpnERcdDAaxixOdArpo=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-fO8ia0FwNvMMVBUO22gUNImkXY3kjdUjQIP7s5MOJDs=";
|
|
|
|
nativeBuildInputs = [
|
|
python3
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
cctools
|
|
];
|
|
|
|
buildInputs = [
|
|
unbound
|
|
];
|
|
|
|
dontNpmBuild = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/handshake-org/hsd/blob/${src.rev}/CHANGELOG.md";
|
|
description = "Implementation of the Handshake protocol";
|
|
homepage = "https://github.com/handshake-org/hsd";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|