python312Packages.pyelectra: init at 1.2.4

This commit is contained in:
Robert Schütz 2024-08-08 10:40:59 -07:00
parent a22545c55d
commit f1a319cb18
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "pyelectra";
version = "1.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "jafar-atili";
repo = "pyelectra";
rev = "refs/tags/${version}";
hash = "sha256-3g+6AXbHMStk77k+1Qh5kgDswUZ8I627YiA/PguUGBg=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "electrasmart" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/jafar-atili/pyElectra/releases/tag/${version}";
description = "Electra Smart Python Integration";
homepage = "https://github.com/jafar-atili/pyelectra";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -11314,6 +11314,8 @@ self: super: with self; {
pyeight = callPackage ../development/python-modules/pyeight { };
pyelectra = callPackage ../development/python-modules/pyelectra { };
pyelftools = callPackage ../development/python-modules/pyelftools { };
pyemby = callPackage ../development/python-modules/pyemby { };