nixpkgs/pkgs/development/python-modules/pywinrm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
840 B
Nix
Raw Normal View History

2017-05-26 23:56:48 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
2017-05-26 23:56:48 +01:00
, mock
, pytestCheckHook
2017-05-26 23:56:48 +01:00
, requests
, requests_ntlm
, six
, xmltodict
}:
buildPythonPackage rec {
pname = "pywinrm";
version = "0.4.3";
format = "setuptools";
disabled = pythonOlder "3.8";
2017-05-26 23:56:48 +01:00
src = fetchPypi {
inherit pname version;
hash = "sha256-mVZ0v1rGSyViycVlQEcxCeUw02veEMJi1aUpYSGtVWU=";
2017-05-26 23:56:48 +01:00
};
propagatedBuildInputs = [
requests
requests_ntlm
six
xmltodict
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [
"winrm"
];
pytestFlagsArray = [
"winrm/tests/"
];
2017-05-26 23:56:48 +01:00
meta = with lib; {
description = "Python library for Windows Remote Management";
homepage = "https://github.com/diyan/pywinrm";
2017-05-26 23:56:48 +01:00
license = licenses.mit;
maintainers = with maintainers; [ elasticdog kamadorueda ];
2017-05-26 23:56:48 +01:00
};
}