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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.0 KiB
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, libxml2
, m2crypto
, ply
, pyyaml
, six
, pbr
, pythonOlder
, nocasedict
, nocaselist
, yamlloader
, requests-mock
, httpretty
, lxml
, mock
, pytest
, requests
, decorator
, FormEncode
, testfixtures
, pytz
2017-08-07 15:23:48 +00:00
}:
buildPythonPackage rec {
2018-01-01 10:49:50 +00:00
pname = "pywbem";
version = "1.5.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xffkWMJTDGE1j7xjM750+vNmqs546uM3QUMSZ63zJhA=";
2017-08-07 15:23:48 +00: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 ];
nativeCheckInputs = [
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
];
meta = with lib; {
description = "Support for the WBEM standard for systems management";
homepage = "https://pywbem.github.io";
license = licenses.lgpl21Plus;
2017-08-07 15:23:48 +00:00
maintainers = with maintainers; [ peterhoeg ];
};
}