2017-05-26 23:56:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-01-29 17:37:58 +00:00
|
|
|
, isPy38
|
|
|
|
, kerberos
|
2017-05-26 23:56:48 +01:00
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
, six
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pywinrm";
|
2019-12-19 19:31:21 +00:00
|
|
|
version = "0.4.1";
|
2020-01-29 17:37:58 +00:00
|
|
|
disabled = isPy38;
|
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 ];
|
2020-01-29 17:37:58 +00:00
|
|
|
propagatedBuildInputs = [ requests requests_ntlm six kerberos xmltodict ];
|
2017-05-26 23:56:48 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for Windows Remote Management";
|
2020-01-29 17:37:58 +00:00
|
|
|
homepage = "https://github.com/diyan/pywinrm";
|
2017-05-26 23:56:48 +01:00
|
|
|
license = licenses.mit;
|
2020-01-29 17:37:58 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
elasticdog
|
|
|
|
kamadorueda
|
|
|
|
];
|
2017-05-26 23:56:48 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|