From 1d62ec322c094707085c7d339dacdf1df2f8029d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 28 May 2023 20:22:04 +0200 Subject: [PATCH] python310Packages.pyipp: 0.12.1 -> 0.13.0 https://github.com/ctalkington/python-ipp/releases/tag/0.13.0 --- .../python-modules/pyipp/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyipp/default.nix b/pkgs/development/python-modules/pyipp/default.nix index d16ab81fafe..15ad2d5a75f 100644 --- a/pkgs/development/python-modules/pyipp/default.nix +++ b/pkgs/development/python-modules/pyipp/default.nix @@ -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;