python312Packages.thermopro-ble: refactor

This commit is contained in:
Fabian Affolter
2024-12-15 11:11:24 +01:00
parent 5788aba073
commit e104c2fc1a
@@ -13,20 +13,20 @@
buildPythonPackage rec {
pname = "thermopro-ble";
version = "0.10.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bluetooth-devices";
repo = pname;
repo = "thermopro-ble";
rev = "refs/tags/v${version}";
hash = "sha256-xaRbp9XLCDGJ0NE0TzJygn2OzqvSFszs97vGHawCkzU=";
};
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 Thermopro BLE devices";
homepage = "https://github.com/bluetooth-devices/thermopro-ble";
changelog = "https://github.com/Bluetooth-Devices/thermopro-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}