python310Packages.pycontrol4: 0.3.1 -> 1.1.0

Diff: https://github.com/lawtancool/pyControl4/compare/v0.3.1...v1.1.0
This commit is contained in:
Robert Schütz 2023-02-18 08:25:48 -08:00 committed by Robert Schütz
parent ea78dd7aca
commit 9cc993fad9

View File

@ -4,24 +4,35 @@
, fetchFromGitHub , fetchFromGitHub
, aiohttp , aiohttp
, xmltodict , xmltodict
, python-socketio
, websocket-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycontrol4"; pname = "pycontrol4";
version = "0.3.1"; version = "1.1.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lawtancool"; owner = "lawtancool";
repo = "pyControl4"; repo = "pyControl4";
rev = "v${version}"; rev = "v${version}";
sha256 = "068iiyi17ndv6cv124r5dzvififblbi2zw7jgnzb5xi0q093czkj"; hash = "sha256-dMv2b6dbMauPvPf4LHKmLF4jnXYRYe6A+2lDtiZDUhY=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "python-socketio>=4,<5" "python-socketio>=4"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
xmltodict xmltodict
python-socketio
websocket-client
]; ];
# tests access network # tests access network