Robert Schütz 2024-08-28 08:22:55 -07:00
parent d56a9accad
commit c8c4f3855c

View File

@ -6,13 +6,13 @@
setuptools,
aiohttp,
xmltodict,
python-socketio,
python-socketio-v4,
websocket-client,
}:
buildPythonPackage rec {
pname = "pycontrol4";
version = "1.1.2";
version = "1.2.0";
disabled = pythonOlder "3.6";
@ -22,20 +22,15 @@ buildPythonPackage rec {
owner = "lawtancool";
repo = "pyControl4";
rev = "refs/tags/v${version}";
hash = "sha256-oKKc9s3/fO7cFMjOeKtpvEwmfglxI2lxlN3EIva7zR8=";
hash = "sha256-1gZebYseuEBI0dlXlD72f/uozNuoxHPqVsc8AWJV148=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "python-socketio>=4,<5" "python-socketio>=4"
'';
build-system = [ setuptools ];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
aiohttp
xmltodict
python-socketio
python-socketio-v4
websocket-client
];
@ -50,6 +45,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/lawtancool/pyControl4/releases/tag/v${version}";
description = "Python 3 asyncio package for interacting with Control4 systems";
homepage = "https://github.com/lawtancool/pyControl4";
license = licenses.asl20;