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
1 changed files with 20 additions and 18 deletions

View File

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