ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
51 lines
840 B
Nix
51 lines
840 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, mock
|
|
, pytestCheckHook
|
|
, requests
|
|
, requests_ntlm
|
|
, six
|
|
, xmltodict
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywinrm";
|
|
version = "0.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mVZ0v1rGSyViycVlQEcxCeUw02veEMJi1aUpYSGtVWU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
requests_ntlm
|
|
six
|
|
xmltodict
|
|
];
|
|
|
|
checkInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"winrm"
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"winrm/tests/"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for Windows Remote Management";
|
|
homepage = "https://github.com/diyan/pywinrm";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elasticdog kamadorueda ];
|
|
};
|
|
}
|