1{
2 lib,
3 buildPythonPackage,
4 decorator,
5 fetchPypi,
6 formencode,
7 httpretty,
8 libxml2,
9 lxml,
10 mock,
11 nocasedict,
12 nocaselist,
13 pbr,
14 ply,
15 pytest,
16 pythonOlder,
17 pytz,
18 pyyaml,
19 requests,
20 requests-mock,
21 six,
22 testfixtures,
23 yamlloader,
24}:
25
26buildPythonPackage rec {
27 pname = "pywbem";
28 version = "1.7.2";
29 format = "setuptools";
30
31 disabled = pythonOlder "3.7";
32
33 src = fetchPypi {
34 inherit pname version;
35 hash = "sha256-3Dt4WEABf1/LY4HFZoJZjOu/yEUYUXaPheIxioTga2g=";
36 };
37
38 propagatedBuildInputs = [
39 mock
40 nocasedict
41 nocaselist
42 pbr
43 ply
44 pyyaml
45 six
46 yamlloader
47 ];
48
49 nativeCheckInputs = [
50 decorator
51 formencode
52 httpretty
53 libxml2
54 lxml
55 pytest
56 pytz
57 requests
58 requests-mock
59 testfixtures
60 ];
61
62 pythonImportsCheck = [ "pywbem" ];
63
64 meta = with lib; {
65 description = "Support for the WBEM standard for systems management";
66 homepage = "https://pywbem.github.io";
67 changelog = "https://github.com/pywbem/pywbem/blob/${version}/docs/changes.rst";
68 license = licenses.lgpl21Plus;
69 maintainers = [ ];
70 };
71}