nixpkgs/pkgs/development/python-modules/pywbem/default.nix

49 lines
1.0 KiB
Nix
Raw Normal View History

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