python312Packages.airthings-ble: 0.9.2 -> 1.0.0 (#373168)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user