blob: e23b1590814870eaa97fa9da251d8846745d15af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
py-radix,
versionCheckHook,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "aggregate6";
version = "1.0.15";
pyproject = true;
src = fetchFromGitHub {
owner = "job";
repo = "aggregate6";
rev = version;
hash = "sha256-GXIZ2aNZUeiVkhmo2jdwIEk9jL/in2KuuKgi//TQGq0=";
};
build-system = [ setuptools ];
dependencies = [ py-radix ];
nativeCheckInputs = [
pytestCheckHook
versionCheckHook
];
pythonImportsCheck = [ "aggregate6" ];
versionCheckProgramArg = "-V";
meta = {
description = "IPv4 and IPv6 prefix aggregation tool";
mainProgram = "aggregate6";
homepage = "https://github.com/job/aggregate6";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ marcel ];
};
}
|