2017-08-31 19:14:35 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
|
2017-08-31 18:27:00 +00:00
|
|
|
|
2017-08-31 19:14:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "netmask";
|
2019-02-16 07:16:12 +00:00
|
|
|
version = "2.4.4";
|
2017-08-31 18:27:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlby";
|
|
|
|
repo = "netmask";
|
|
|
|
rev = "v${version}";
|
2019-02-16 07:16:12 +00:00
|
|
|
sha256 = "1269bmdvl534wr0bamd7cqbnr76pnb14yn8ly4qsfg29kh7hrds6";
|
2017-08-31 18:27:00 +00:00
|
|
|
};
|
|
|
|
|
2017-08-31 19:14:35 +00:00
|
|
|
buildInputs = [ texinfo ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-08-31 18:27:00 +00:00
|
|
|
|
2017-08-31 19:14:35 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/tlby/netmask";
|
2017-08-31 18:27:00 +00:00
|
|
|
description = "An IP address formatting tool ";
|
2017-08-31 19:14:35 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jensbin ];
|
2017-08-31 18:27:00 +00:00
|
|
|
};
|
|
|
|
}
|