2021-09-11 11:08:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pbr, six, wrapt, callPackage }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "debtcollector";
|
2022-02-19 00:36:56 +00:00
|
|
|
version = "2.4.0";
|
2021-09-11 11:08:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-19 00:36:56 +00:00
|
|
|
sha256 = "sha256-G8A+LZAX3kgMQc8+Wg2MyV8bDI8TOSgbTsqKIqz3aiM=";
|
2021-09-11 11:08:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pbr ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six wrapt ];
|
|
|
|
|
|
|
|
# check in passthru.tests.pytest to escape infinite recursion with other oslo components
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.tests = {
|
2021-09-14 12:54:10 +01:00
|
|
|
tests = callPackage ./tests.nix { };
|
2021-09-11 11:08:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "debtcollector" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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;
|
|
|
|
};
|
|
|
|
}
|