summary refs log blame commit diff
path: root/pkgs/development/python-modules/debtcollector/default.nix
blob: 1915b64aca8011359e41ed9b3391a8fbce03b90a (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                     
                    


                          
                                                                   









                                                                                          
                                        










                                                                                                                                                     
{ 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;
  };
}