2022-11-21 17:40:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-02-02 18:25:31 +00:00
|
|
|
, decorator
|
2022-11-21 17:40:18 +00:00
|
|
|
, fetchPypi
|
2023-03-15 16:39:30 +00:00
|
|
|
, formencode
|
2022-11-21 17:40:18 +00:00
|
|
|
, httpretty
|
2023-02-02 18:25:31 +00:00
|
|
|
, libxml2
|
2022-11-21 17:40:18 +00:00
|
|
|
, lxml
|
|
|
|
, mock
|
2023-02-02 18:25:31 +00:00
|
|
|
, nocasedict
|
|
|
|
, nocaselist
|
|
|
|
, pbr
|
|
|
|
, ply
|
2022-11-21 17:40:18 +00:00
|
|
|
, pytest
|
2023-02-02 18:25:31 +00:00
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, pyyaml
|
2022-11-21 17:40:18 +00:00
|
|
|
, requests
|
2023-02-02 18:25:31 +00:00
|
|
|
, requests-mock
|
|
|
|
, six
|
2022-11-21 17:40:18 +00:00
|
|
|
, testfixtures
|
2023-02-02 18:25:31 +00:00
|
|
|
, yamlloader
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywbem";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.6.1";
|
2022-11-21 17:40:18 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-q9vWzgi2xZfN1sdzDmtJqELZE/L2s8xitYXFjsPueUU=";
|
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
|
2023-02-02 18:25:31 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
decorator
|
2023-03-15 16:39:30 +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
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pywbem"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Support for the WBEM standard for systems management";
|
|
|
|
homepage = "https://pywbem.github.io";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/pywbem/pywbem/blob/${version}/docs/changes.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|