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

25 lines
614 B
Nix
Raw Normal View History

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