python310Packages.pyipp: 0.12.1 -> 0.13.0

https://github.com/ctalkington/python-ipp/releases/tag/0.13.0
This commit is contained in:
Martin Weinelt 2023-05-28 20:22:04 +02:00
parent 507f9c4d85
commit 1d62ec322c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "pyipp";
version = "0.12.1";
version = "0.13.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -24,9 +24,15 @@ buildPythonPackage rec {
owner = "ctalkington";
repo = "python-ipp";
rev = version;
hash = "sha256-xTSi5Eh6vVuQ+Kr/oVMlh5YcckVRsfTUgdmGHndmX+Q=";
hash = "sha256-lVpXtPxZZCyWycmkXZTMo5WTPtlehNY5IX7tiyIb1uM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"' \
--replace "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
@ -45,17 +51,14 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"' \
--replace " --cov" ""
'';
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [
"pyipp"
];
meta = with lib; {
changelog = "https://github.com/ctalkington/python-ipp/releases/tag/${version}";
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
homepage = "https://github.com/ctalkington/python-ipp";
license = licenses.mit;