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

38 lines
742 B
Nix
Raw Normal View History

2017-05-26 23:56:48 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, 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";
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 ];
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";
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
platforms = platforms.all;
};
}