evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / os-client-config / default.nix
blobe06fa9be9f4be976c783d6f1236fd46cf5410148
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   fixtures,
6   hacking,
7   jsonschema,
8   openstacksdk,
9   oslotest,
10   python-glanceclient,
11   setuptools,
12   stestr,
13   subunit,
14   testscenarios,
15   testtools,
18 buildPythonPackage rec {
19   pname = "os-client-config";
20   version = "2.1.0";
21   pyproject = true;
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-q8OKNR+MAG009+5fP2SN5ePs9kVcxdds/YidKRzfP04=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     openstacksdk
32     python-glanceclient
33   ];
35   nativeCheckInputs = [
36     hacking
37     fixtures
38     jsonschema
39     subunit
40     oslotest
41     stestr
42     testscenarios
43     testtools
44   ];
46   checkPhase = ''
47     runHook preCheck
49     stestr run
51     runHook postCheck
52   '';
54   pythonImportsCheck = [ "os_client_config" ];
56   meta = with lib; {
57     homepage = "https://opendev.org/openstack/os-client-config";
58     description = "Collect client configuration for using OpenStack in consistent and comprehensive manner";
59     license = licenses.asl20;
60     maintainers = teams.openstack.members;
61   };