2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "netmask";
|
|
|
|
version = "2.4.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlby";
|
|
|
|
repo = "netmask";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1269bmdvl534wr0bamd7cqbnr76pnb14yn8ly4qsfg29kh7hrds6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ texinfo ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/tlby/netmask";
|
|
|
|
description = "An IP address formatting tool ";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jensbin ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "netmask";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|