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