mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
python312Packages.automower-ble: init at 0.2.0
Module to connect to Husqvarna Automower Connect https://github.com/alistair23/AutoMower-BLE
This commit is contained in:
parent
8a2cc6b286
commit
b47e6c8bf0
39
pkgs/development/python-modules/automower-ble/default.nix
Normal file
39
pkgs/development/python-modules/automower-ble/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
bleak,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "automower-ble";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alistair23";
|
||||
repo = "AutoMower-BLE";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-BWfRXz78e1Xq0fNOGJ2IFnjNqfH3oD5VIGMxyCPtEUw=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -1036,6 +1036,8 @@ self: super: with self; {
|
||||
|
||||
automate-home = callPackage ../development/python-modules/automate-home { };
|
||||
|
||||
automower-ble = callPackage ../development/python-modules/automower-ble { };
|
||||
|
||||
automx2 = callPackage ../development/python-modules/automx2 { };
|
||||
|
||||
autopage = callPackage ../development/python-modules/autopage { };
|
||||
|
Loading…
Reference in New Issue
Block a user