Commit f645888b authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.pyiskra: init at 0.1.14

parent 0c691d6c
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pymodbus,
  setuptools,
}:

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

  src = fetchFromGitHub {
    owner = "Iskramis";
    repo = "pyiskra";
    rev = "refs/tags/v${version}";
    hash = "sha256-OLNUa11UULiW6E8nVy5rUyN7iAD7KdM+R76m2zaDOgc=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    pymodbus
  ];

  pythonImportsCheck = [ "pyiskra" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    changelog = "https://github.com/Iskramis/pyiskra/releases/tag/v${version}";
    description = "Python Iskra devices interface";
    homepage = "https://github.com/Iskramis/pyiskra";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10200,6 +10200,8 @@ self: super: with self; {
  pyisemail = callPackage ../development/python-modules/pyisemail { };
  pyiskra = callPackage ../development/python-modules/pyiskra { };
  pyisy = callPackage ../development/python-modules/pyisy { };
  pyixapi = callPackage ../development/python-modules/pyixapi { };