2017-05-26 23:56:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
, six
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywinrm";
|
2017-12-30 11:26:45 +00:00
|
|
|
version = "0.3.0";
|
2017-05-26 23:56:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:26:45 +00:00
|
|
|
sha256 = "799fc3e33fec8684443adf5778860388289102ea4fa1458f1bf307d167855573";
|
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;
|
|
|
|
};
|
|
|
|
}
|