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