depot/third_party/nixpkgs/pkgs/development/python-modules/pywinrm/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

51 lines
862 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
];
nativeCheckInputs = [
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
];
};
}