depot/third_party/nixpkgs/pkgs/development/python-modules/pbr/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

34 lines
700 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, callPackage
}:
buildPythonPackage rec {
pname = "pbr";
version = "5.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZrxaNJEvQIuzklvyEjHLb1kgYme39j81A++GXBopLiU=";
};
propagatedBuildInputs = [ setuptools ];
# check in passthru.tests.pytest to escape infinite recursion with fixtures
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "pbr" ];
meta = with lib; {
description = "Python Build Reasonableness";
homepage = "https://github.com/openstack/pbr";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}