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