diff --git a/pkgs/tools/networking/ndisc6/default.nix b/pkgs/tools/networking/ndisc6/default.nix index 5ea6c8f68952..86eec4555643 100644 --- a/pkgs/tools/networking/ndisc6/default.nix +++ b/pkgs/tools/networking/ndisc6/default.nix @@ -1,23 +1,30 @@ { stdenv, fetchurl, perl }: stdenv.mkDerivation rec { - name = "ndisc6-1.0.2"; + name = "ndisc6-1.0.3"; src = fetchurl { url = "http://www.remlab.net/files/ndisc6/archive/${name}.tar.bz2"; - sha256 = "0ynacanjhlib4japqmf7n2c0bv5f2qq6rx2nhk4kmylyrfhcikka"; + sha256 = "08f8xrsck2ykszp12yxx4ssf6wnkn7l6m59456hw3vgjyp5dch8g"; }; buildInputs = [ perl ]; - configureFlags = "--localstatedir=/var"; + configureFlags = [ + "--sysconfdir=/etc" + "--localstatedir=/var" + ]; - installFlags = "localstatedir=$(TMPDIR)"; + installFlags = [ + "sysconfdir=\${out}/etc" + "localstatedir=$(TMPDIR)" + ]; - meta = { + meta = with stdenv.lib; { homepage = http://www.remlab.net/ndisc6/; description = "A small collection of useful tools for IPv6 networking"; - maintainers = [ stdenv.lib.maintainers.eelco ]; - platforms = stdenv.lib.platforms.linux; + maintainers = with maintainers; [ eelco wkennington ]; + platforms = platforms.linux; + license = licenses.gpl2; }; }