at 22.05-pre 1.0 kB view raw
1{ lib, buildPythonPackage, fetchPypi, libxml2 2, m2crypto, ply, pyyaml, six, pbr, pythonOlder, nocasedict, nocaselist, yamlloader, requests-mock 3, httpretty, lxml, mock, pytest, requests, decorator, unittest2 4, FormEncode, testfixtures, pytz 5}: 6 7buildPythonPackage rec { 8 pname = "pywbem"; 9 version = "1.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "8ef48185e0adbaeb9bd5181c4c5de951f6d58d54e2e1d7e87a9834e10eabe957"; 14 }; 15 16 propagatedBuildInputs = [ 17 mock 18 nocasedict 19 nocaselist 20 pbr 21 ply 22 pyyaml 23 six 24 yamlloader 25 ] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ]; 26 27 checkInputs = [ 28 decorator 29 FormEncode 30 httpretty 31 libxml2 32 lxml 33 pytest 34 pytz 35 requests 36 requests-mock 37 testfixtures 38 unittest2 39 ]; 40 41 meta = with lib; { 42 description = "Support for the WBEM standard for systems management"; 43 homepage = "https://pywbem.github.io"; 44 license = licenses.lgpl21Plus; 45 maintainers = with maintainers; [ peterhoeg ]; 46 }; 47}