1{
2 aiohttp,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lib,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pyelectra";
11 version = "1.2.4";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "jafar-atili";
16 repo = "pyelectra";
17 tag = version;
18 hash = "sha256-3g+6AXbHMStk77k+1Qh5kgDswUZ8I627YiA/PguUGBg=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 pythonImportsCheck = [ "electrasmart" ];
26
27 # upstream has no tests
28 doCheck = false;
29
30 meta = {
31 changelog = "https://github.com/jafar-atili/pyElectra/releases/tag/${version}";
32 description = "Electra Smart Python Integration";
33 homepage = "https://github.com/jafar-atili/pyelectra";
34 license = lib.licenses.asl20;
35 maintainers = with lib.maintainers; [ dotlambda ];
36 };
37}