depot/third_party/nixpkgs/pkgs/development/python-modules/pywbem/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

47 lines
1,007 B
Nix

{ lib, buildPythonPackage, fetchPypi, libxml2
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, nocasedict, nocaselist, yamlloader, requests-mock
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
, FormEncode, testfixtures, pytz
}:
buildPythonPackage rec {
pname = "pywbem";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rYu75Kt+eVciwPJ/JlbJL8Zzp+BqFM0VGlDwMGRU0X4=";
};
propagatedBuildInputs = [
mock
nocasedict
nocaselist
pbr
ply
pyyaml
six
yamlloader
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
checkInputs = [
decorator
FormEncode
httpretty
libxml2
lxml
pytest
pytz
requests
requests-mock
testfixtures
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 ];
};
}