Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pbr, six, wrapt, callPackage }: 2 3buildPythonPackage rec { 4 pname = "debtcollector"; 5 version = "2.5.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-3J0a0/dFxD9LvtvKMPn/6JBajAKMmSbmEHeEfV6iV6s="; 10 }; 11 12 nativeBuildInputs = [ pbr ]; 13 14 propagatedBuildInputs = [ six wrapt ]; 15 16 # check in passthru.tests.pytest to escape infinite recursion with other oslo components 17 doCheck = false; 18 19 passthru.tests = { 20 tests = callPackage ./tests.nix { }; 21 }; 22 23 pythonImportsCheck = [ "debtcollector" ]; 24 25 meta = with lib; { 26 description = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner"; 27 homepage = "https://github.com/openstack/debtcollector"; 28 license = licenses.asl20; 29 maintainers = teams.openstack.members; 30 }; 31}