nixpkgs-suyu/pkgs/tools/networking/netmask/default.nix

25 lines
604 B
Nix
Raw Normal View History

2017-08-31 21:14:35 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
2017-08-31 20:27:00 +02:00
2017-08-31 21:14:35 +02:00
stdenv.mkDerivation rec {
pname = "netmask";
version = "2.4.4";
2017-08-31 20:27:00 +02:00
src = fetchFromGitHub {
owner = "tlby";
repo = "netmask";
rev = "v${version}";
sha256 = "1269bmdvl534wr0bamd7cqbnr76pnb14yn8ly4qsfg29kh7hrds6";
2017-08-31 20:27:00 +02:00
};
2017-08-31 21:14:35 +02:00
buildInputs = [ texinfo ];
nativeBuildInputs = [ autoreconfHook ];
2017-08-31 20:27:00 +02:00
2017-08-31 21:14:35 +02:00
meta = with stdenv.lib; {
2017-08-31 20:27:00 +02:00
homepage = https://github.com/tlby/netmask;
description = "An IP address formatting tool ";
2017-08-31 21:14:35 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jensbin ];
2017-08-31 20:27:00 +02:00
};
}