1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, mock 6, pytestCheckHook 7, requests 8, requests_ntlm 9, six 10, xmltodict 11}: 12 13buildPythonPackage rec { 14 pname = "pywinrm"; 15 version = "0.4.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-mVZ0v1rGSyViycVlQEcxCeUw02veEMJi1aUpYSGtVWU="; 23 }; 24 25 propagatedBuildInputs = [ 26 requests 27 requests_ntlm 28 six 29 xmltodict 30 ]; 31 32 checkInputs = [ 33 mock 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "winrm" 39 ]; 40 41 pytestFlagsArray = [ 42 "winrm/tests/" 43 ]; 44 45 meta = with lib; { 46 description = "Python library for Windows Remote Management"; 47 homepage = "https://github.com/diyan/pywinrm"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ elasticdog kamadorueda ]; 50 }; 51}