Commit 7d25ea49 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.eq3btsmart: init at 1.1.9

parent f29cef3b
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  bleak,
  construct,
  construct-typing,
  pytest-asyncio,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "eq3btsmart";
  version = "1.1.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "EuleMitKeule";
    repo = "eq3btsmart";
    rev = "refs/tags/${version}";
    hash = "sha256-7kJqPygX2Oc7fz31qZWrS1ZA+kANZr8vxOwarUzgp/M=";
  };

  build-system = [ poetry-core ];

  dependencies = [
    bleak
    construct
    construct-typing
  ];

  pythonImportsCheck = [ "eq3btsmart" ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/EuleMitKeule/eq3btsmart/releases/tag/${version}";
    description = "Python library that allows interaction with eQ-3 Bluetooth smart thermostats";
    homepage = "https://github.com/EuleMitKeule/eq3btsmart";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3930,6 +3930,8 @@ self: super: with self; {
  epson-projector = callPackage ../development/python-modules/epson-projector { };
  eq3btsmart = callPackage ../development/python-modules/eq3btsmart { };
  equinox = callPackage ../development/python-modules/equinox { };
  eradicate = callPackage ../development/python-modules/eradicate { };