python310Packages.pypsrp: init at 0.8.1

This commit is contained in:
Fabian Affolter 2022-06-09 09:25:15 +02:00
parent fdc59cca1e
commit 45ec571176
2 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,79 @@
{ lib
, asyncssh
, buildPythonPackage
, cryptography
, fetchFromGitHub
, gssapi
, httpcore
, httpx
, krb5
, psrpcore
, psutil
, pyspnego
, pytest-mock
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, requests-credssp
, xmldiff
}:
buildPythonPackage rec {
pname = "pypsrp";
version = "0.8.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jborean93";
repo = pname;
rev = "v${version}";
hash = "sha256-Pwfc9e39sYPdcHN1cZtxxGEglEYzPp4yOYLD5/4SSiU=";
};
propagatedBuildInputs = [
cryptography
httpcore
httpx
psrpcore
pyspnego
requests
];
checkInputs = [
pytest-mock
pytestCheckHook
pyyaml
xmldiff
];
passthru.optional-dependencies = {
credssp = [
requests-credssp
];
kerberos = [
# pyspnego[kerberos] will have those two dependencies
gssapi
krb5
];
named_pipe = [
psutil
];
ssh = [
asyncssh
];
};
pythonImportsCheck = [
"pypsrp"
];
meta = with lib; {
description = "PowerShell Remoting Protocol Client library";
homepage = "https://github.com/jborean93/pypsrp";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6453,6 +6453,8 @@ in {
pyprecice = callPackage ../development/python-modules/pyprecice { };
pypsrp = callPackage ../development/python-modules/pypsrp { };
phpserialize = callPackage ../development/python-modules/phpserialize { };
phx-class-registry = callPackage ../development/python-modules/phx-class-registry { };