ndisc6: update, modernize, adopt (#533125)

This commit is contained in:
Peder Bergebakken Sundt 2026-06-30 19:29:50 +00:00 committed by GitHub
commit 500b77405f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,19 +3,22 @@
stdenv,
fetchurl,
perl,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ndisc6";
version = "1.0.4";
version = "1.0.8";
src = fetchurl {
url = "https://www.remlab.net/files/ndisc6/archive/ndisc6-${finalAttrs.version}.tar.bz2";
sha256 = "07swyar1hl83zxmd7fqwb2q0c0slvrswkcfp3nz5lknrk15dmcdb";
url = "https://www.remlab.net/files/ndisc6/ndisc6-${finalAttrs.version}.tar.bz2";
hash = "sha256-Hy+y3BFydwqloJ05c4pE2LdTzF4uJeMGynhoL5/qC08=";
};
buildInputs = [ perl ];
nativeBuildInputs = [ perl ];
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
@ -27,10 +30,16 @@ stdenv.mkDerivation (finalAttrs: {
"localstatedir=$(TMPDIR)"
];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
__structuredAttrs = true;
strictDeps = true;
meta = {
homepage = "https://www.remlab.net/ndisc6/";
description = "Small collection of useful tools for IPv6 networking";
maintainers = [ ];
maintainers = with lib.maintainers; [ aiyion ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl2Only;
};