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