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";
|
2022-04-15 01:41:22 +00:00
|
|
|
version = "1.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-rYu75Kt+eVciwPJ/JlbJL8Zzp+BqFM0VGlDwMGRU0X4=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|