aerospike: 8.0.0.1 -> 8.0.0.2 (#380565)
[NixPkgs.git] / pkgs / development / python-modules / pbr / default.nix
blobd500a215be1142dfc4dfc6a1412c373328a8cdd7
2   lib,
3   buildPythonPackage,
4   callPackage,
5   distutils,
6   fetchPypi,
7   setuptools,
8   six,
9 }:
11 buildPythonPackage rec {
12   pname = "pbr";
13   version = "6.1.0";
14   pyproject = true;
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-eIGD44Lj0ddwfbCJeCOZZei55OXtQmab9HWBhnNNXyQ=";
19   };
21   build-system = [ setuptools ];
23   dependencies = [
24     distutils # for distutils.command in pbr/packaging.py
25     setuptools # for pkg_resources
26     six
27   ];
29   # check in passthru.tests.pytest to escape infinite recursion with fixtures
30   doCheck = false;
32   passthru.tests = {
33     tests = callPackage ./tests.nix { };
34   };
36   pythonImportsCheck = [ "pbr" ];
38   meta = with lib; {
39     description = "Python Build Reasonableness";
40     mainProgram = "pbr";
41     homepage = "https://github.com/openstack/pbr";
42     license = licenses.asl20;
43     maintainers = teams.openstack.members;
44   };