mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #28800 from jensbin/netmask_init
netmask: init at 2.4.3
This commit is contained in:
commit
57c40d02c1
24
pkgs/tools/networking/netmask/default.nix
Normal file
24
pkgs/tools/networking/netmask/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "netmask-${version}";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tlby";
|
||||
repo = "netmask";
|
||||
rev = "v${version}";
|
||||
sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2658,6 +2658,8 @@ with pkgs;
|
||||
|
||||
ipcalc = callPackage ../tools/networking/ipcalc {};
|
||||
|
||||
netmask = callPackage ../tools/networking/netmask {};
|
||||
|
||||
ipv6calc = callPackage ../tools/networking/ipv6calc {};
|
||||
|
||||
ipxe = callPackage ../tools/misc/ipxe { };
|
||||
|
Loading…
Reference in New Issue
Block a user