Files
nixpkgs/pkgs/development/python-modules/melnor-bluetooth/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

65 lines
1.2 KiB
Nix

{
lib,
aioconsole,
bleak-retry-connector,
bleak,
buildPythonPackage,
deprecated,
fetchFromGitHub,
freezegun,
poetry-core,
poetry-dynamic-versioning,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
syrupy,
tzdata,
tzlocal,
}:
buildPythonPackage rec {
pname = "melnor-bluetooth";
version = "0.0.25";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "vanstinator";
repo = "melnor-bluetooth";
tag = "v${version}";
hash = "sha256-BQKXQrPT/+qm9cRO7pfScPwW0iwdhliTfX4XJ/kRQG0=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
aioconsole
bleak
bleak-retry-connector
deprecated
tzdata
tzlocal
];
nativeCheckInputs = [
freezegun
pytest-asyncio
pytestCheckHook
syrupy
];
pythonImportsCheck = [ "melnor_bluetooth" ];
meta = {
description = "Module to interact with Melnor and Eden bluetooth watering timers";
homepage = "https://github.com/vanstinator/melnor-bluetooth";
changelog = "https://github.com/vanstinator/melnor-bluetooth/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}