Fabian Affolter 2023-03-01 00:20:25 +01:00
parent 7de7b4ea8b
commit 1b564ea848

View file

@ -3,14 +3,13 @@
, cryptography , cryptography
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonAtLeast
, pythonOlder , pythonOlder
, xmldiff , xmldiff
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "psrpcore"; pname = "psrpcore";
version = "0.2.1"; version = "0.2.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -19,7 +18,7 @@ buildPythonPackage rec {
owner = "jborean93"; owner = "jborean93";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-KMSyqXKhNH+i9Y0Mx3DHCwJZOkl4Va2n0zu0TEitslU="; hash = "sha256-6d5HQJEH/x+V0rpmQkprMlH1n151KyUF6d4tM9W5TFs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -35,13 +34,6 @@ buildPythonPackage rec {
"psrpcore" "psrpcore"
]; ];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# https://github.com/jborean93/psrpcore/issues/22
"test_remote_stream_options"
"test_ps_flags"
];
meta = with lib; { meta = with lib; {
description = "Library for the PowerShell Remoting Protocol (PSRP)"; description = "Library for the PowerShell Remoting Protocol (PSRP)";
homepage = "https://github.com/jborean93/psrpcore"; homepage = "https://github.com/jborean93/psrpcore";