depot/third_party/nixpkgs/pkgs/tools/networking/netmask/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

25 lines
632 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.unix;
maintainers = [ maintainers.jensbin ];
mainProgram = "netmask";
};
}