Skip to content

Commit 97386f9

Browse files
python312Packages.aggregate6: 1.0.12 -> 1.0.14 (#383160)
2 parents c21e493 + 4e3354b commit 97386f9

File tree

2 files changed

+7
-37
lines changed

2 files changed

+7
-37
lines changed

pkgs/development/python-modules/aggregate6/0001-setup-remove-nose-coverage.patch

Lines changed: 0 additions & 31 deletions
This file was deleted.

pkgs/development/python-modules/aggregate6/default.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
fetchFromGitHub,
55
setuptools,
66
py-radix-sr,
7+
versionCheckHook,
78
pytestCheckHook,
8-
mock,
99
}:
1010

1111
buildPythonPackage rec {
1212
pname = "aggregate6";
13-
version = "1.0.12";
13+
version = "1.0.14";
1414
pyproject = true;
1515

1616
src = fetchFromGitHub {
1717
owner = "job";
1818
repo = "aggregate6";
1919
rev = version;
20-
hash = "sha256-tBo9LSmEu/0KPSeg17dlh7ngUvP9GyW6b01qqpr5Bx0=";
20+
hash = "sha256-sF5F4AIIQuMTuWE3zoBE1akJX9QSmAaRp1qgoHzSJMo=";
2121
};
2222

23-
patches = [ ./0001-setup-remove-nose-coverage.patch ];
24-
2523
# py-radix-sr is a fork, with fixes
24+
# NOTE: it should be worth switching to py-radix again in the future as there
25+
# is still development sadly currently without a new release.
2626
postPatch = ''
2727
substituteInPlace setup.py --replace-fail 'py-radix==0.10.0' 'py-radix-sr'
2828
'';
@@ -33,10 +33,11 @@ buildPythonPackage rec {
3333

3434
nativeCheckInputs = [
3535
pytestCheckHook
36-
mock
36+
versionCheckHook
3737
];
3838

3939
pythonImportsCheck = [ "aggregate6" ];
40+
versionCheckProgramArg = "-V";
4041

4142
meta = {
4243
description = "IPv4 and IPv6 prefix aggregation tool";

0 commit comments

Comments
 (0)