python312Packages.ruuvitag-ble: refactor

This commit is contained in:
Fabian Affolter
2024-12-15 11:49:06 +01:00
parent bc826287ef
commit bf389406c8
@@ -14,20 +14,20 @@
buildPythonPackage rec {
pname = "ruuvitag-ble";
version = "0.1.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "ruuvitag-ble";
rev = "refs/tags/v${version}";
hash = "sha256-J+807p2mE+VZ0oqldFtjdcNGsRTkAU54s6byQSGrng4=";
};
nativeBuildInputs = [ hatchling ];
build-system = [ hatchling ];
propagatedBuildInputs = [
dependencies = [
bluetooth-data-tools
bluetooth-sensor-state-data
home-assistant-bluetooth
@@ -46,7 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for Ruuvitag BLE devices";
homepage = "https://github.com/Bluetooth-Devices/ruuvitag-ble";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}