Merge pull request #306390 from fabaff/psrpcore-bump

python312Packages.psrpcore: 0.2.2 -> 0.3.0
This commit is contained in:
Fabian Affolter 2024-04-24 11:07:08 +02:00 committed by GitHub
commit 2f9e6ce004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,38 +1,40 @@
{ lib {
, buildPythonPackage lib,
, cryptography buildPythonPackage,
, fetchFromGitHub cryptography,
, pytestCheckHook fetchFromGitHub,
, pythonOlder powershell,
, xmldiff pytestCheckHook,
pythonOlder,
setuptools,
xmldiff,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "psrpcore"; pname = "psrpcore";
version = "0.2.2"; version = "0.3.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jborean93"; owner = "jborean93";
repo = pname; repo = "psrpcore";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-6d5HQJEH/x+V0rpmQkprMlH1n151KyUF6d4tM9W5TFs="; hash = "sha256-YThumRHMOTyhP6/EmNEew47v/X4Y1aYg1nvgZJz2XUg=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
cryptography
]; dependencies = [ cryptography ];
nativeCheckInputs = [ nativeCheckInputs = [
powershell
pytestCheckHook pytestCheckHook
xmldiff xmldiff
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "psrpcore" ];
"psrpcore"
];
meta = with lib; { meta = with lib; {
description = "Library for the PowerShell Remoting Protocol (PSRP)"; description = "Library for the PowerShell Remoting Protocol (PSRP)";