diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-08-31 20:14:35 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-08-31 20:14:35 +0100 |
commit | 79527c2196873c87056d470a0a6b7f83aba2cee9 (patch) | |
tree | 23a9b30a4feb6e373cfde03aca4285797c656782 /pkgs/tools/networking/netmask | |
parent | 1785ac4a13ae699be8b8b8905416e3d8a6a40517 (diff) |
netmask: use autoreconfHook
Diffstat (limited to 'pkgs/tools/networking/netmask')
-rw-r--r-- | pkgs/tools/networking/netmask/default.nix | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/pkgs/tools/networking/netmask/default.nix b/pkgs/tools/networking/netmask/default.nix index ae2e9cc79f644..52727163704b1 100644 --- a/pkgs/tools/networking/netmask/default.nix +++ b/pkgs/tools/networking/netmask/default.nix @@ -1,7 +1,6 @@ -{stdenv, fetchFromGitHub, automake, autoconf, texinfo}: +{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }: -stdenv.mkDerivation rec -{ +stdenv.mkDerivation rec { name = "netmask-${version}"; version = "2.4.3"; @@ -12,18 +11,14 @@ stdenv.mkDerivation rec sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87"; }; - buildInputs = [ automake autoconf texinfo ]; + buildInputs = [ texinfo ]; + nativeBuildInputs = [ autoreconfHook ]; - preConfigure = '' - ./autogen - ''; - - meta = - { + meta = with stdenv.lib; { homepage = https://github.com/tlby/netmask; description = "An IP address formatting tool "; - license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.jensbin ]; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = [ maintainers.jensbin ]; }; } |