2021-09-12 22:07:48 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, callPackage
|
|
|
|
}:
|
2017-03-19 01:47:35 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pbr";
|
2021-06-18 23:47:28 +02:00
|
|
|
version = "5.6.0";
|
2017-03-19 01:47:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:28 +02:00
|
|
|
sha256 = "42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd";
|
2017-03-19 01:47:35 +01:00
|
|
|
};
|
|
|
|
|
2021-08-04 05:37:44 +02:00
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
|
2021-09-12 22:07:48 +02:00
|
|
|
# check in passthru.tests.pytest to escape infinite recursion with fixtures
|
2017-03-19 01:47:35 +01:00
|
|
|
doCheck = false;
|
2021-09-12 22:07:48 +02:00
|
|
|
|
|
|
|
passthru.tests = {
|
2021-09-14 13:54:10 +02:00
|
|
|
tests = callPackage ./tests.nix { };
|
2021-09-12 22:07:48 +02:00
|
|
|
};
|
|
|
|
|
2021-08-04 05:37:44 +02:00
|
|
|
pythonImportsCheck = [ "pbr" ];
|
2017-03-19 01:47:35 +01:00
|
|
|
|
2021-01-24 01:29:22 +01:00
|
|
|
meta = with lib; {
|
2017-03-19 01:47:35 +01:00
|
|
|
description = "Python Build Reasonableness";
|
2021-09-12 22:07:48 +02:00
|
|
|
homepage = "https://github.com/openstack/pbr";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.openstack.members;
|
2017-03-19 01:47:35 +01:00
|
|
|
};
|
|
|
|
}
|