about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/firehol/iprange.nix
blob: d2504b73cc30190d56add1758bb226acd8dfe537 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "iprange";
  version = "1.0.4";

  src = fetchurl {
    url = "https://github.com/firehol/iprange/releases/download/v${version}/iprange-${version}.tar.xz";
    sha256 = "0rymw4ydn09dng34q4g5111706fyppzs2gd5br76frgvfj4x2f71";
  };

  meta = with lib; {
    description = "manage IP ranges";
    mainProgram = "iprange";
    homepage = "https://github.com/firehol/iprange";
    license = licenses.gpl2;
    maintainers = with maintainers; [ oxzi ];
  };
}