nixpkgs-suyu/pkgs/tools/networking/netmask/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 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 ];
};
}