2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, libxml2
|
2021-12-06 16:07:01 +00:00
|
|
|
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, nocasedict, nocaselist, yamlloader, requests-mock
|
2020-04-24 23:36:52 +00:00
|
|
|
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
|
2020-11-24 20:58:05 +00:00
|
|
|
, FormEncode, testfixtures, pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywbem";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "5df0af28f81891a3914a12f3a30b11b1981f7b30e09c5a42c011797e7fce9b6a";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mock
|
2020-11-24 20:58:05 +00:00
|
|
|
nocasedict
|
|
|
|
nocaselist
|
2020-04-24 23:36:52 +00:00
|
|
|
pbr
|
|
|
|
ply
|
|
|
|
pyyaml
|
|
|
|
six
|
2020-11-24 20:58:05 +00:00
|
|
|
yamlloader
|
2020-04-24 23:36:52 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
decorator
|
2020-11-24 20:58:05 +00:00
|
|
|
FormEncode
|
2020-04-24 23:36:52 +00:00
|
|
|
httpretty
|
|
|
|
libxml2
|
|
|
|
lxml
|
|
|
|
pytest
|
2020-11-24 20:58:05 +00:00
|
|
|
pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
requests
|
2020-11-24 20:58:05 +00:00
|
|
|
requests-mock
|
|
|
|
testfixtures
|
2020-04-24 23:36:52 +00:00
|
|
|
unittest2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for the WBEM standard for systems management";
|
|
|
|
homepage = "https://pywbem.github.io";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|