nixpkgs/pkgs/tools/networking/netmask/default.nix
2020-04-10 17:54:53 +01:00

24 lines
606 B
Nix

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