diff options
author | Jens Binkert <jensbin@protonmail.com> | 2017-08-31 20:27:00 +0200 |
---|---|---|
committer | Jens Binkert <jensbin@protonmail.com> | 2017-08-31 20:27:00 +0200 |
commit | 1785ac4a13ae699be8b8b8905416e3d8a6a40517 (patch) | |
tree | 922cc31eb61650842241abb2334bf8c16f9b691f /pkgs/tools/networking/netmask | |
parent | d0e4aef32a734091dfc24c5e9281c60fabaf44a7 (diff) |
netmask: init at 2.4.3
Diffstat (limited to 'pkgs/tools/networking/netmask')
-rw-r--r-- | pkgs/tools/networking/netmask/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/networking/netmask/default.nix b/pkgs/tools/networking/netmask/default.nix new file mode 100644 index 0000000000000..ae2e9cc79f644 --- /dev/null +++ b/pkgs/tools/networking/netmask/default.nix @@ -0,0 +1,29 @@ +{stdenv, fetchFromGitHub, automake, autoconf, texinfo}: + +stdenv.mkDerivation rec +{ + name = "netmask-${version}"; + version = "2.4.3"; + + src = fetchFromGitHub { + owner = "tlby"; + repo = "netmask"; + rev = "v${version}"; + sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87"; + }; + + buildInputs = [ automake autoconf texinfo ]; + + preConfigure = '' + ./autogen + ''; + + meta = + { + 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 ]; + }; +} |