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

python312Packages.pypalazzetti: init at 0.1.14 (#359453)

parents f3241034 f213d955
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pypalazzetti";
  version = "0.1.14";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "dotvav";
    repo = "py-palazzetti-api";
    rev = "refs/tags/v${version}";
    hash = "sha256-TDD3/UghNtsSAWV0k1I4MOjTFZB+sBqGgpKwy1p9Gx4=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pypalazzetti" ];

  meta = {
    description = "Library to access and control a Palazzetti stove through a Connection Box";
    homepage = "https://github.com/dotvav/py-palazzetti-api";
    changelog = "https://github.com/dotvav/py-palazzetti-api/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -3228,7 +3228,8 @@
      p1monitor
    ];
    "palazzetti" = ps: with ps; [
    ]; # missing inputs: pypalazzetti
      pypalazzetti
    ];
    "panasonic_bluray" = ps: with ps; [
      panacotta
    ];
@@ -5619,6 +5620,7 @@
    "ovo_energy"
    "owntracks"
    "p1_monitor"
    "palazzetti"
    "panasonic_viera"
    "panel_custom"
    "peco"
+2 −0
Original line number Diff line number Diff line
@@ -12104,6 +12104,8 @@ self: super: with self; {
    inherit python;
  });
  pypalazzetti = callPackage ../development/python-modules/pypalazzetti { };
  pypandoc = callPackage ../development/python-modules/pypandoc { };
  pyparser = callPackage ../development/python-modules/pyparser { };