depot/third_party/nixpkgs/pkgs/development/python-modules/pywinrm/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

53 lines
864 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, kerberos
, 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
kerberos
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 ];
};
}