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

python3Packages.homevolt: init at 0.5.0 (#502294)

parents a217605c 36ab7b93
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

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

  src = fetchFromGitHub {
    owner = "Danielhiversen";
    repo = "pyHomevolt";
    tag = finalAttrs.version;
    hash = "sha256-Z+3JwACbdFVivWbhlxO73m1rjyGS+Vc/Y3QICqEY9O0=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [ "homevolt" ];

  meta = {
    description = "Python library for Homevolt EMS devices";
    homepage = "https://github.com/Danielhiversen/pyHomevolt";
    changelog = "https://github.com/Danielhiversen/pyHomevolt/releases/tag/${finalAttrs.version}";
    license = lib.licenses.gpl3Only;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -2534,7 +2534,8 @@
      ];
    "homevolt" =
      ps: with ps; [
      ]; # missing inputs: homevolt
        homevolt
      ];
    "homewizard" =
      ps: with ps; [
        python-homewizard-energy
@@ -7604,6 +7605,7 @@
    "homekit_controller"
    "homematic"
    "homematicip_cloud"
    "homevolt"
    "homewizard"
    "homeworks"
    "honeywell"
+2 −0
Original line number Diff line number Diff line
@@ -7092,6 +7092,8 @@ self: super: with self; {
  homematicip = callPackage ../development/python-modules/homematicip { };
  homevolt = callPackage ../development/python-modules/homevolt { };
  homf = callPackage ../development/python-modules/homf { };
  hoomd-blue = callPackage ../development/python-modules/hoomd-blue { };