depot/third_party/nixpkgs/pkgs/development/python-modules/debtcollector/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

53 lines
1 KiB
Nix

{
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 = with lib; {
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 = licenses.asl20;
maintainers = teams.openstack.members;
};
}