blob: 250805c7bfbe91eb73d6dd5784a0689f7b5367d9 (
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
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchPypi,
openstackdocstheme,
pbr,
six,
setuptools,
sphinxHook,
wrapt,
callPackage,
}:
buildPythonPackage rec {
pname = "debtcollector";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8=";
};
build-system = [
openstackdocstheme
pbr
setuptools
sphinxHook
];
sphinxBuilders = [ "man" ];
dependencies = [
six
wrapt
];
# check in passthru.tests.pytest to escape infinite recursion with other oslo components
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "debtcollector" ];
meta = {
description = "Collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner";
homepage = "https://github.com/openstack/debtcollector";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
|