Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
798 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, bleak, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "automower-ble"; version = "0.2.1"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "alistair23"; repo = "AutoMower-BLE"; tag = version; hash = "sha256-k0cVjpuhPFpPoPVFj0uoKVoFEQn4TNIuFLedJfawlaA="; };
build-system = [ setuptools ];
dependencies = [ bleak ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "automower_ble" ];
meta = { description = "Module to connect to Husqvarna Automower Connect"; homepage = "https://github.com/alistair23/AutoMower-BLE"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; };}