nixpkgs-suyu/pkgs/development/python-modules/pbr/default.nix

35 lines
713 B
Nix
Raw Normal View History

{ 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
};
propagatedBuildInputs = [ setuptools ];
# check in passthru.tests.pytest to escape infinite recursion with fixtures
2017-03-19 01:47:35 +01:00
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "pbr" ];
2017-03-19 01:47:35 +01:00
meta = with lib; {
2017-03-19 01:47:35 +01:00
description = "Python Build Reasonableness";
homepage = "https://github.com/openstack/pbr";
license = licenses.asl20;
maintainers = teams.openstack.members;
2017-03-19 01:47:35 +01:00
};
}