Files
nixpkgs/pkgs/by-name/ur/uradvd/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
960 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
gitMinimal,
uradvd,
versionCheckHook,
}:
stdenv.mkDerivation {
pname = "uradvd";
version = "r26-1e64364d";
src = fetchFromGitHub {
owner = "freifunk-gluon";
repo = "uradvd";
rev = "1e64364d323acb8c71285a6fb85d384334e7007d";
deepClone = true;
hash = "sha256-+MDhBuCPJ/dcKw4/z4PnXXGoNomIz/0QI32XfLR6fK0=";
};
nativeBuildInputs = [
gitMinimal
];
installPhase = ''
runHook preInstall
install -D --mode=0755 uradvd -t "$out/bin"
runHook postInstall
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
meta = {
description = "Tiny IPv6 Router Advertisement Daemon";
homepage = "https://github.com/freifunk-gluon/uradvd";
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ aiyion ];
mainProgram = "uradvd";
};
}