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
58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libbsd,
|
|
libdaemon,
|
|
bison,
|
|
flex,
|
|
check,
|
|
nixosTests,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "radvd";
|
|
version = "2.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "radvd-project";
|
|
repo = "radvd";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-s9KP6F6rSumuNDOV4rtE7I+o742al4hc3/dgNkpCCyQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
bison
|
|
flex
|
|
check
|
|
];
|
|
|
|
buildInputs = [
|
|
libdaemon
|
|
libbsd
|
|
];
|
|
|
|
# Needed for cross-compilation
|
|
makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) connman ipv6 systemd-networkd-ipv6-prefix-delegation;
|
|
privacy_scripted = nixosTests.networking.scripted.privacy;
|
|
privacy_networkd = nixosTests.networking.networkd.privacy;
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.litech.org/radvd/";
|
|
changelog = "https://github.com/radvd-project/radvd/blob/${finalAttrs.src.rev}/CHANGES";
|
|
description = "IPv6 Router Advertisement Daemon";
|
|
downloadPage = "https://github.com/radvd-project/radvd";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsdOriginal;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
})
|