python312Packages.kegtron-ble: refactor

This commit is contained in:
Fabian Affolter
2024-12-15 12:53:56 +01:00
parent 6207343004
commit 27cfd31dfb
@@ -13,20 +13,20 @@
buildPythonPackage rec {
pname = "kegtron-ble";
version = "0.4.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "kegtron-ble";
rev = "refs/tags/v${version}";
hash = "sha256-O5I5shW8nL2RAQptS2Bp/GI/4L6o0xXXmwYvRq0MM8o=";
};
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 Kegtron BLE devices";
homepage = "https://github.com/Bluetooth-Devices/kegtron-ble";
changelog = "https://github.com/Bluetooth-Devices/kegtron-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}