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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
787 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, callPackage
}:
2017-03-19 00:47:35 +00:00
buildPythonPackage rec {
pname = "pbr";
version = "5.11.0";
2017-03-19 00:47:35 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-uXvGaVsq/wIUQTPC5zmdWIUiPUK3kS/67CyjiY5nO/4=";
2017-03-19 00:47:35 +00:00
};
2022-06-01 20:20:58 +00:00
# importlib-metadata could be added here if it wouldn't cause an infinite recursion
propagatedBuildInputs = [ setuptools ];
# check in passthru.tests.pytest to escape infinite recursion with fixtures
2017-03-19 00:47:35 +00:00
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "pbr" ];
2017-03-19 00:47:35 +00:00
meta = with lib; {
2017-03-19 00:47:35 +00:00
description = "Python Build Reasonableness";
homepage = "https://github.com/openstack/pbr";
license = licenses.asl20;
maintainers = teams.openstack.members;
2017-03-19 00:47:35 +00:00
};
}