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

python3Packages.pystiebeleltron: init at 0.2.3 (#432714)

parents 179516ed 14a73b02
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pymodbus,
  pytestCheckHook,
  pytest-asyncio,
  pytest-mock,
}:

buildPythonPackage rec {
  pname = "pystiebeleltron";
  version = "0.2.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ThyMYthOS";
    repo = "python-stiebel-eltron";
    tag = "v${version}";
    hash = "sha256-vJo9fjtbGuWJ1JcK6u0Cnol1Ev3eobD14YjH+S256og=";
  };

  build-system = [ hatchling ];

  dependencies = [ pymodbus ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
    pytest-mock
  ];

  pythonImportsCheck = [ "pystiebeleltron" ];

  meta = {
    description = "Python API for interacting with the Stiebel Eltron ISG web gateway via Modbus";
    homepage = "https://github.com/ThyMYthOS/python-stiebel-eltron";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -5659,7 +5659,8 @@
      ];
    "stiebel_eltron" =
      ps: with ps; [
      ]; # missing inputs: pystiebeleltron
        pystiebeleltron
      ];
    "stookwijzer" =
      ps: with ps; [
        stookwijzer
@@ -7665,6 +7666,7 @@
    "statsd"
    "steam_online"
    "steamist"
    "stiebel_eltron"
    "stookwijzer"
    "stream"
    "streamlabswater"
+2 −0
Original line number Diff line number Diff line
@@ -14094,6 +14094,8 @@ self: super: with self; {
  pystemmer = callPackage ../development/python-modules/pystemmer { };
  pystiebeleltron = callPackage ../development/python-modules/pystiebeleltron { };
  pystray = callPackage ../development/python-modules/pystray { };
  pysubs2 = callPackage ../development/python-modules/pysubs2 { };