netmask: use autoreconfHook

This commit is contained in:
Jörg Thalheim 2017-08-31 20:14:35 +01:00
parent 1785ac4a13
commit 79527c2196

View File

@ -1,7 +1,6 @@
{stdenv, fetchFromGitHub, automake, autoconf, texinfo}: { stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
stdenv.mkDerivation rec stdenv.mkDerivation rec {
{
name = "netmask-${version}"; name = "netmask-${version}";
version = "2.4.3"; version = "2.4.3";
@ -12,18 +11,14 @@ stdenv.mkDerivation rec
sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87"; sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87";
}; };
buildInputs = [ automake autoconf texinfo ]; buildInputs = [ texinfo ];
nativeBuildInputs = [ autoreconfHook ];
preConfigure = '' meta = with stdenv.lib; {
./autogen
'';
meta =
{
homepage = https://github.com/tlby/netmask; homepage = https://github.com/tlby/netmask;
description = "An IP address formatting tool "; description = "An IP address formatting tool ";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
maintainers = [ stdenv.lib.maintainers.jensbin ]; maintainers = [ maintainers.jensbin ];
}; };
} }