From a57f6499d644819a5d13ca97d6459823a57638ba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 12 Jan 2025 13:06:29 +0100 Subject: [PATCH] python312Packages.airthings-ble: 0.9.2 -> 1.0.0 Changelog: https://github.com/vincegio/airthings-ble/releases/tag/1.0.0 --- .../python-modules/airthings-ble/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/airthings-ble/default.nix b/pkgs/development/python-modules/airthings-ble/default.nix index 82d92c635eb7..5bb05d175447 100644 --- a/pkgs/development/python-modules/airthings-ble/default.nix +++ b/pkgs/development/python-modules/airthings-ble/default.nix @@ -5,6 +5,7 @@ bleak, bleak-retry-connector, buildPythonPackage, + cbor2, fetchFromGitHub, poetry-core, pytest-cov-stub, @@ -14,16 +15,16 @@ buildPythonPackage rec { pname = "airthings-ble"; - version = "0.9.2"; + version = "1.0.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "vincegio"; repo = "airthings-ble"; tag = version; - hash = "sha256-m2jsXLrj2yS2Wi2dSwyxBv/nXmU738gd5iJ1JVfakUg="; + hash = "sha256-RKvQ3w3unDk/U6dz3r0Pn3ppVA6ZGxUoyuVk5jbI8jc="; }; build-system = [ poetry-core ]; @@ -32,7 +33,8 @@ buildPythonPackage rec { async-interrupt bleak bleak-retry-connector - ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; + cbor2 + ]; nativeCheckInputs = [ pytest-cov-stub @@ -45,7 +47,7 @@ buildPythonPackage rec { description = "Library for Airthings BLE devices"; homepage = "https://github.com/vincegio/airthings-ble"; changelog = "https://github.com/vincegio/airthings-ble/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }