2018-11-29 22:22:02 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, libxml2
|
2019-06-16 20:59:06 +01:00
|
|
|
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, isPy37
|
2020-10-31 21:50:16 +00:00
|
|
|
, nocasedict, nocaselist, yamlloader, requests-mock
|
2018-11-29 22:22:02 +00:00
|
|
|
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
|
2020-10-31 21:50:16 +00:00
|
|
|
, FormEncode, testfixtures, pytz
|
2017-08-07 16:23:48 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-01-01 10:49:50 +00:00
|
|
|
pname = "pywbem";
|
2021-02-20 09:09:15 +00:00
|
|
|
version = "1.1.3";
|
2018-11-29 22:22:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:15 +00:00
|
|
|
sha256 = "2abb6443f4debae56af7abefadb9fa5b8af9b53fc9bcf67f6c01a78db1064300";
|
2017-08-07 16:23:48 +01:00
|
|
|
};
|
|
|
|
|
2018-11-29 22:22:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
mock
|
2020-10-31 21:50:16 +00:00
|
|
|
nocasedict
|
|
|
|
nocaselist
|
2018-11-29 22:22:02 +00:00
|
|
|
pbr
|
|
|
|
ply
|
|
|
|
pyyaml
|
|
|
|
six
|
2020-10-31 21:50:16 +00:00
|
|
|
yamlloader
|
2018-11-29 22:22:02 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
decorator
|
2020-10-31 21:50:16 +00:00
|
|
|
FormEncode
|
2018-11-29 22:22:02 +00:00
|
|
|
httpretty
|
|
|
|
libxml2
|
|
|
|
lxml
|
|
|
|
pytest
|
2020-10-31 21:50:16 +00:00
|
|
|
pytz
|
2018-11-29 22:22:02 +00:00
|
|
|
requests
|
2020-10-31 21:50:16 +00:00
|
|
|
requests-mock
|
|
|
|
testfixtures
|
2018-11-29 22:22:02 +00:00
|
|
|
unittest2
|
2017-09-06 16:19:12 +01:00
|
|
|
];
|
|
|
|
|
2018-11-29 22:22:02 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for the WBEM standard for systems management";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pywbem.github.io";
|
2018-11-29 22:22:02 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2017-08-07 16:23:48 +01:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|