2017-05-27 00:56:48 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
, six
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywinrm";
|
2017-12-30 12:26:45 +01:00
|
|
|
version = "0.3.0";
|
2017-05-27 00:56:48 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:26:45 +01:00
|
|
|
sha256 = "799fc3e33fec8684443adf5778860388289102ea4fa1458f1bf307d167855573";
|
2017-05-27 00:56:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
propagatedBuildInputs = [ requests requests_ntlm six xmltodict ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for Windows Remote Management";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://github.com/diyan/pywinrm/;
|
2017-05-27 00:56:48 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|