python312Packages.ruuvitag-ble: refactor
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user