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}";
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 ];
};
}