1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy38
5, kerberos
6, mock
7, pytest
8, requests
9, requests_ntlm
10, six
11, xmltodict
12}:
13
14buildPythonPackage rec {
15 pname = "pywinrm";
16 version = "0.4.2";
17 disabled = isPy38;
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "e7865ec5e46e7fedb859c656cfaba4fcf669de7c042b5a7d8a759544636bcfb7";
22 };
23
24 checkInputs = [ mock pytest ];
25 propagatedBuildInputs = [ requests requests_ntlm six kerberos xmltodict ];
26
27 meta = with lib; {
28 description = "Python library for Windows Remote Management";
29 homepage = "https://github.com/diyan/pywinrm";
30 license = licenses.mit;
31 maintainers = with maintainers; [
32 elasticdog
33 kamadorueda
34 ];
35 platforms = platforms.all;
36 };
37}