Unverified Commit 3c280ca8 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python312Packages.melnor-bluetooth: init at 0.0.25 (#352387)

parents 9dfc088e 78c09e1a
Loading
Loading
Loading
Loading
+64 −0
Original line number Diff line number Diff line
{
  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";
    rev = "refs/tags/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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -2598,13 +2598,14 @@
      hassil
      home-assistant-intents
      ifaddr
      melnor-bluetooth
      mutagen
      pymicro-vad
      pyserial
      pyspeex-noise
      pyudev
      zeroconf
    ]; # missing inputs: melnor-bluetooth
    ];
    "meraki" = ps: with ps; [
    ];
    "mercury_nz" = ps: with ps; [
@@ -5445,6 +5446,7 @@
    "media_player"
    "media_source"
    "melcloud"
    "melnor"
    "meraki"
    "met"
    "met_eireann"
+2 −0
Original line number Diff line number Diff line
@@ -7845,6 +7845,8 @@ self: super: with self; {
  meld3 = callPackage ../development/python-modules/meld3 { };
  melnor-bluetooth = callPackage ../development/python-modules/melnor-bluetooth { };
  memestra = callPackage ../development/python-modules/memestra { };
  memory-allocator = callPackage ../development/python-modules/memory-allocator { };