blob: 5d6c048ecfb404ea02d2a85c1c6225f8b701e1fc (
plain) (
blame)
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
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
callPackage,
fetchPypi,
pythonOlder,
importlib-metadata,
pbr,
setuptools,
}:
buildPythonPackage rec {
pname = "stevedore";
version = "5.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-mmQmX0BgMSgoFRwgTvvpt6mFKg2SKHVjRNvH5AI+N1o=";
};
build-system = [
pbr
setuptools
];
dependencies = [
importlib-metadata
setuptools
];
# Checks moved to 'passthru.tests' to workaround infinite recursion
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "stevedore" ];
meta = with lib; {
description = "Manage dynamic plugins for Python applications";
homepage = "https://docs.openstack.org/stevedore/";
license = licenses.asl20;
maintainers = teams.openstack.members ++ (with maintainers; [ fab ]);
};
}
|