3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pbr/default.nix
Drew Risinger 8a39aa70ca python3Packages.pbr: add setuptools dependency
pbr doesn't list any explicit requirements, but it actually requires
setuptools (for pkg_resources).
Ref:
* https://bugs.launchpad.net/pbr/+bug/1868899
* https://opendev.org/openstack/pbr/src/tag/5.6.0/pbr/version.py#L439

(cherry picked from commit 21d70a8301)
2021-08-04 00:49:55 -07:00

24 lines
554 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "pbr";
version = "5.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd";
};
propagatedBuildInputs = [ setuptools ];
# circular dependencies with fixtures
doCheck = false;
pythonImportsCheck = [ "pbr" ];
meta = with lib; {
homepage = "http://docs.openstack.org/developer/pbr/";
license = licenses.asl20;
description = "Python Build Reasonableness";
};
}