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

49 lines
1009 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, libxml2
, m2crypto, ply, pyyaml, six, pbr, pythonOlder, isPy37
2020-10-31 14:50:16 -07:00
, nocasedict, nocaselist, yamlloader, requests-mock
, httpretty, lxml, mock, pytest, requests, decorator, unittest2
2020-10-31 14:50:16 -07:00
, FormEncode, testfixtures, pytz
2017-08-07 08:23:48 -07:00
}:
buildPythonPackage rec {
2018-01-01 02:49:50 -08:00
pname = "pywbem";
2020-10-31 14:50:16 -07:00
version = "1.1.2";
src = fetchPypi {
inherit pname version;
2020-10-31 14:50:16 -07:00
sha256 = "9GpxbgNsXZJj2M5MvosNnEe+9pY+Qz64RD/7ZIDqmII=";
2017-08-07 08:23:48 -07:00
};
propagatedBuildInputs = [
mock
2020-10-31 14:50:16 -07:00
nocasedict
nocaselist
pbr
ply
pyyaml
six
2020-10-31 14:50:16 -07:00
yamlloader
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ];
checkInputs = [
decorator
2020-10-31 14:50:16 -07:00
FormEncode
httpretty
libxml2
lxml
pytest
2020-10-31 14:50:16 -07:00
pytz
requests
2020-10-31 14:50:16 -07: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 08:23:48 -07:00
maintainers = with maintainers; [ peterhoeg ];
};
}