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
51 lines
1.0 KiB
Nix
51 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
boost,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "i2pd-tools";
|
|
version = "2.56.0";
|
|
|
|
#tries to access the network during the tests, which fails
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PurpleI2P";
|
|
repo = "i2pd-tools";
|
|
rev = "33fce4b087d92ee90653460bbe7a07cdc0c7b121";
|
|
hash = "sha256-mmCs8AHHKhx1/rDp/Vc1p2W3pufoTa4FcJyJwD919zw=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
buildInputs = [
|
|
zlib
|
|
openssl
|
|
boost
|
|
];
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
for bin in \
|
|
routerinfo keygen vain keyinfo regaddr \
|
|
regaddr_3ld regaddralias x25519 famtool autoconf;
|
|
do
|
|
install -Dm755 $bin -t $out/bin
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Toolsuite to work with keys and eepsites";
|
|
homepage = "https://github.com/PurpleI2P/i2pd-tools";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ MulliganSecurity ];
|
|
mainProgram = "i2pd-tools";
|
|
};
|
|
}
|