python310Packages.devolo-plc-api: 1.3.0 -> 1.3.1

https://github.com/2Fake/devolo_plc_api/releases/tag/v1.3.1
This commit is contained in:
Martin Weinelt
2023-06-07 21:11:01 +02:00
parent b5f4812bfe
commit ea56bb2263
@@ -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 = [