mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
0215034f25
when they already rely on SRI hashes.
32 lines
874 B
Nix
32 lines
874 B
Nix
{ lib, buildPythonPackage, fetchPypi, pbr, six, wrapt, callPackage }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "debtcollector";
|
|
version = "2.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3J0a0/dFxD9LvtvKMPn/6JBajAKMmSbmEHeEfV6iV6s=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|