From 4ff7436647c1b91a74dcacf0aa75bcd785118d34 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Sat, 16 Nov 2024 15:31:19 +0800 Subject: [PATCH] python311Packages.weconnect-mqtt: fix build (cherry picked from commit 7f7bdeffde6fc09b6f89d1cdf28cc40a995403e4) --- .../python-modules/weconnect-mqtt/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/weconnect-mqtt/default.nix b/pkgs/development/python-modules/weconnect-mqtt/default.nix index a3380e20b553..7253e9d5c340 100644 --- a/pkgs/development/python-modules/weconnect-mqtt/default.nix +++ b/pkgs/development/python-modules/weconnect-mqtt/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - paho-mqtt, + paho-mqtt_2, pytestCheckHook, python-dateutil, pythonOlder, @@ -40,7 +40,7 @@ buildPythonPackage rec { dependencies = [ - paho-mqtt + paho-mqtt_2 python-dateutil weconnect ] ++ weconnect.optional-dependencies.Images; @@ -49,12 +49,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "weconnect_mqtt" ]; - meta = with lib; { + meta = { description = "Python client that publishes data from Volkswagen WeConnect"; homepage = "https://github.com/tillsteinbach/WeConnect-mqtt"; changelog = "https://github.com/tillsteinbach/WeConnect-mqtt/releases/tag/v${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ fab ]; mainProgram = "weconnect-mqtt"; }; }