Commit 807ce335 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.homevolt: init at 0.5.0

parent 91ceb77b
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -7108,6 +7108,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 { };