python3Packages.pypsrp: 0.8.1 -> 0.9.0 (#492237)
This commit is contained in:
@@ -20,6 +20,8 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
hash = "sha256-IACFPPlkgyJh78p6Jy740CQqcySkMTV/8VVPSRJKTPI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "pypsrp" ];
|
||||
|
||||
# Removes the additional binary ewp
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
||||
@@ -14,22 +14,25 @@
|
||||
pyyaml,
|
||||
requests,
|
||||
requests-credssp,
|
||||
setuptools,
|
||||
xmldiff,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pypsrp";
|
||||
version = "0.8.1";
|
||||
version = "0.9.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jborean93";
|
||||
repo = "pypsrp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Pwfc9e39sYPdcHN1cZtxxGEglEYzPp4yOYLD5/4SSiU=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-EFe587tLTlNEzxhACtlbB0FspDOUvfF3ly0DRtAomuY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
httpcore
|
||||
httpx
|
||||
@@ -38,13 +41,6 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
xmldiff
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
credssp = [ requests-credssp ];
|
||||
kerberos = pyspnego.optional-dependencies.kerberos;
|
||||
@@ -52,6 +48,13 @@ buildPythonPackage rec {
|
||||
ssh = [ asyncssh ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
xmldiff
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pypsrp" ];
|
||||
|
||||
disabledTests = [
|
||||
@@ -64,8 +67,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "PowerShell Remoting Protocol Client library";
|
||||
homepage = "https://github.com/jborean93/pypsrp";
|
||||
changelog = "https://github.com/jborean93/pypsrp/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/jborean93/pypsrp/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user