1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pbr,
6 six,
7 wrapt,
8 callPackage,
9}:
10
11buildPythonPackage rec {
12 pname = "debtcollector";
13 version = "3.0.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8=";
19 };
20
21 nativeBuildInputs = [ pbr ];
22
23 propagatedBuildInputs = [
24 six
25 wrapt
26 ];
27
28 # check in passthru.tests.pytest to escape infinite recursion with other oslo components
29 doCheck = false;
30
31 passthru.tests = {
32 tests = callPackage ./tests.nix { };
33 };
34
35 pythonImportsCheck = [ "debtcollector" ];
36
37 meta = with lib; {
38 description = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner";
39 homepage = "https://github.com/openstack/debtcollector";
40 license = licenses.asl20;
41 maintainers = teams.openstack.members;
42 };
43}