2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-07-31 10:19:44 +00:00
|
|
|
openstackdocstheme,
|
2024-06-05 15:53:02 +00:00
|
|
|
pbr,
|
|
|
|
six,
|
2024-07-31 10:19:44 +00:00
|
|
|
setuptools,
|
|
|
|
sphinxHook,
|
2024-06-05 15:53:02 +00:00
|
|
|
wrapt,
|
|
|
|
callPackage,
|
|
|
|
}:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "debtcollector";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.0.0";
|
2024-07-31 10:19:44 +00:00
|
|
|
pyproject = true;
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
build-system = [
|
|
|
|
openstackdocstheme
|
|
|
|
pbr
|
|
|
|
setuptools
|
|
|
|
sphinxHook
|
|
|
|
];
|
|
|
|
|
|
|
|
sphinxBuilders = [ "man" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
dependencies = [
|
2024-06-05 15:53:02 +00:00
|
|
|
six
|
|
|
|
wrapt
|
|
|
|
];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
# check in passthru.tests.pytest to escape infinite recursion with other oslo components
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.tests = {
|
|
|
|
tests = callPackage ./tests.nix { };
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "debtcollector" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner";
|
2021-09-18 10:52:07 +00:00
|
|
|
homepage = "https://github.com/openstack/debtcollector";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
|
|
|
};
|
|
|
|
}
|