mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
604 B
Nix
25 lines
604 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 ];
|
|
};
|
|
}
|