summary refs log tree commit diff
path: root/pkgs/tools/networking/netmask/default.nix
blob: 52727163704b190ab5e12ac5ffdb7f7c8ec083d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:

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

  src = fetchFromGitHub {
    owner = "tlby";
    repo = "netmask";
    rev = "v${version}";
    sha256 = "1n6b9f60j7hfdbpbppgkhz3lr7pg963bxnfrq95i1d49xmx41f87";
  };

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