From 45b37ca1d820586c2c9b065889ded1a1fe9ffbe6 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 4 Apr 2015 20:42:37 -0700 Subject: [PATCH] ndisc6: 1.0.2 -> 1.0.3 --- pkgs/tools/networking/ndisc6/default.nix | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) 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; }; }