Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, bluetooth-data-tools, bluetooth-sensor-state-data, buildPythonPackage, fetchFromGitHub, home-assistant-bluetooth, poetry-core, pytest-cov-stub, pytestCheckHook, pythonOlder, sensor-state-data,}:
buildPythonPackage rec { pname = "leaone-ble"; version = "0.3.0"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "leaone-ble"; tag = "v${version}"; hash = "sha256-96TOjjz4EkHAnzL53BIR+PifkyrEig/0r+mIfnwc0hE="; };
build-system = [ poetry-core ];
dependencies = [ bluetooth-data-tools bluetooth-sensor-state-data home-assistant-bluetooth sensor-state-data ];
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "leaone_ble" ];
meta = { description = "Bluetooth parser for LeaOne devices"; homepage = "https://github.com/bluetooth-devices/leaone-ble"; changelog = "https://github.com/bluetooth-devices/leaone-ble/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}