mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ndisc6: update, modernize, adopt (#533125)
This commit is contained in:
commit
500b77405f
1 changed files with 13 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue