2017-05-26 23:56:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
, six
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywinrm";
|
2019-12-19 19:31:21 +00:00
|
|
|
version = "0.4.1";
|
2017-05-26 23:56:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:21 +00:00
|
|
|
sha256 = "4ede5c6c85b53780ad0dbf9abef2fa2ea58f44c82256a84a63eae5f1205cea81";
|
2017-05-26 23:56:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
propagatedBuildInputs = [ requests requests_ntlm six xmltodict ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for Windows Remote Management";
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://github.com/diyan/pywinrm/;
|
2017-05-26 23:56:48 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|