Unverified Commit 9dc8df35 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pysaunum: init at 0.5.0 (#494463)

parents 98579cd2 8102b2a2
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pymodbus,
  pytestCheckHook,
  pytest-asyncio,
  pytest-timeout,
}:

buildPythonPackage (finalAttrs: {
  pname = "pysaunum";
  version = "0.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mettolen";
    repo = "pysaunum";
    tag = "v${finalAttrs.version}";
    hash = "sha256-0O/U79265YCr3iauVxXL0NRjVy7TZhlfUV3idfYa3fc=";
  };

  build-system = [ setuptools ];

  dependencies = [ pymodbus ];

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

  pythonImportsCheck = [ "pysaunum" ];

  meta = {
    description = "Python library for controlling Saunum sauna controllers via Modbus TCP";
    homepage = "https://github.com/mettolen/pysaunum";
    changelog = "https://github.com/mettolen/pysaunum/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -5392,7 +5392,8 @@
      ];
    "saunum" =
      ps: with ps; [
      ]; # missing inputs: pysaunum
        pysaunum
      ];
    "scene" =
      ps: with ps; [
      ];
@@ -8013,6 +8014,7 @@
    "samsungtv"
    "sanix"
    "satel_integra"
    "saunum"
    "scene"
    "schedule"
    "schlage"
+2 −0
Original line number Diff line number Diff line
@@ -14841,6 +14841,8 @@ self: super: with self; {
  pysatochip = callPackage ../development/python-modules/pysatochip { };
  pysaunum = callPackage ../development/python-modules/pysaunum { };
  pysbd = callPackage ../development/python-modules/pysbd { };
  pysc2 = callPackage ../development/python-modules/pysc2 { };