From ea56bb2263f2bfd8127968bae0c677e172470956 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 7 Jun 2023 21:10:55 +0200 Subject: [PATCH] python310Packages.devolo-plc-api: 1.3.0 -> 1.3.1 https://github.com/2Fake/devolo_plc_api/releases/tag/v1.3.1 --- .../python-modules/devolo-plc-api/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/devolo-plc-api/default.nix b/pkgs/development/python-modules/devolo-plc-api/default.nix index 5e3115d660d1..8170601914a5 100644 --- a/pkgs/development/python-modules/devolo-plc-api/default.nix +++ b/pkgs/development/python-modules/devolo-plc-api/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , httpx , protobuf , pytest-asyncio @@ -10,12 +9,13 @@ , pytestCheckHook , pythonOlder , setuptools-scm +, syrupy , zeroconf }: buildPythonPackage rec { pname = "devolo-plc-api"; - version = "1.3.0"; + version = "1.3.1"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -24,9 +24,14 @@ buildPythonPackage rec { owner = "2Fake"; repo = "devolo_plc_api"; rev = "refs/tags/v${version}"; - hash = "sha256-ika0mypHo7a8GCa2eNhOLIhMZ2ASwJOxV4mmAzvJm0E="; + hash = "sha256-wJyBCQ9rk+UwjWhMIeqsIbMR8cXA9Xu+lmubJoOauEg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "protobuf>=4.22.0" "protobuf" + ''; + SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ @@ -44,6 +49,7 @@ buildPythonPackage rec { pytest-httpx pytest-mock pytestCheckHook + syrupy ]; pythonImportsCheck = [