python312Packages.bluemaestro-ble: refactor

This commit is contained in:
Fabian Affolter
2024-12-15 11:59:20 +01:00
parent f8b6887e50
commit e11fe5a933
@@ -13,20 +13,20 @@
buildPythonPackage rec {
pname = "bluemaestro-ble";
version = "0.2.3";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "bluemaestro-ble";
rev = "refs/tags/v${version}";
hash = "sha256-mJ5JNGN4F9U3WMJQDwiZwuxE0zOirwo1sWF3/bVwXhY=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
bluetooth-data-tools
bluetooth-sensor-state-data
sensor-state-data
@@ -45,7 +45,7 @@ buildPythonPackage rec {
description = "Library for bluemaestro BLE devices";
homepage = "https://github.com/Bluetooth-Devices/bluemaestro-ble";
changelog = "https://github.com/Bluetooth-Devices/bluemaestro-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}