1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "iprange";
9 version = "1.0.4";
10
11 src = fetchurl {
12 url = "https://github.com/firehol/iprange/releases/download/v${version}/iprange-${version}.tar.xz";
13 sha256 = "0rymw4ydn09dng34q4g5111706fyppzs2gd5br76frgvfj4x2f71";
14 };
15
16 meta = with lib; {
17 description = "Manage IP ranges";
18 mainProgram = "iprange";
19 homepage = "https://github.com/firehol/iprange";
20 license = licenses.gpl2;
21 maintainers = with maintainers; [ oxzi ];
22 };
23}