792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
31 lines
876 B
Nix
31 lines
876 B
Nix
{ lib, buildPythonPackage, fetchPypi, pbr, six, wrapt, callPackage }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "debtcollector";
|
|
version = "2.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-G8A+LZAX3kgMQc8+Wg2MyV8bDI8TOSgbTsqKIqz3aiM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pbr ];
|
|
|
|
propagatedBuildInputs = [ 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 = "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;
|
|
};
|
|
}
|