nixpkgs/pkgs/tools/networking/netmask/default.nix
Sigmanificient 543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00

26 lines
633 B
Nix

{ lib, 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 lib; {
homepage = "https://github.com/tlby/netmask";
description = "IP address formatting tool";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.jensbin ];
mainProgram = "netmask";
};
}