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.3";
29 pyproject = true;
30
31 disabled = pythonOlder "3.7";
32
33 src = fetchPypi {
34 inherit pname version;
35 hash = "sha256-0fCi69T/7e+NBnrzhVIW21GQx/byfI0tzUZ+CXAckLA=";
36 };
37
38 propagatedBuildInputs = [
39 mock
40 nocasedict
41 nocaselist
42 pbr
43 ply
44 pyyaml
45 requests
46 six
47 yamlloader
48 ];
49
50 nativeCheckInputs = [
51 decorator
52 formencode
53 httpretty
54 libxml2
55 lxml
56 pytest
57 pytz
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}