biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / python-cinderclient / default.nix
blob92e896e3ff65b7470983fe0f80ef628666a893b0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   ddt,
6   keystoneauth1,
7   openstackdocstheme,
8   oslo-i18n,
9   oslo-serialization,
10   oslo-utils,
11   pbr,
12   requests,
13   prettytable,
14   pythonOlder,
15   reno,
16   requests-mock,
17   setuptools,
18   simplejson,
19   sphinxHook,
20   stestr,
21   stevedore,
24 buildPythonPackage rec {
25   pname = "python-cinderclient";
26   version = "9.6.0";
27   pyproject = true;
29   disabled = pythonOlder "3.9";
31   src = fetchPypi {
32     inherit pname version;
33     hash = "sha256-P+/eJoJS5S4w/idz9lgienjG3uN4/LEy0xyG5uybojg=";
34   };
36   nativeBuildInputs = [
37     openstackdocstheme
38     reno
39     sphinxHook
40   ];
42   sphinxBuilders = [ "man" ];
44   build-system = [ setuptools ];
46   dependencies = [
47     simplejson
48     keystoneauth1
49     oslo-i18n
50     oslo-utils
51     pbr
52     prettytable
53     requests
54     stevedore
55   ];
57   nativeCheckInputs = [
58     ddt
59     oslo-serialization
60     requests-mock
61     stestr
62   ];
64   checkPhase = ''
65     runHook preCheck
66     stestr run
67     runHook postCheck
68   '';
70   pythonImportsCheck = [ "cinderclient" ];
72   meta = with lib; {
73     description = "OpenStack Block Storage API Client Library";
74     mainProgram = "cinder";
75     homepage = "https://github.com/openstack/python-cinderclient";
76     license = licenses.asl20;
77     maintainers = teams.openstack.members;
78   };