blob: 2c4d342f03e1dccc131908c8f0bc2c5a9de35181 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
callPackage,
distutils,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "pbr";
version = "7.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-PsvLEdK4VRWI7IFrN1ax60OUGGw7aJsX4EhQ38IPflc=";
};
build-system = [ setuptools ];
dependencies = [
distutils # for distutils.command in pbr/packaging.py
setuptools # for pkg_resources
];
# check in passthru.tests.pytest to escape infinite recursion with fixtures
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "pbr" ];
meta = {
description = "Python Build Reasonableness";
mainProgram = "pbr";
homepage = "https://github.com/openstack/pbr";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
|