File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed
development/python-modules/pyelectra Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ aiohttp ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ lib ,
6+ setuptools ,
7+ } :
8+
9+ buildPythonPackage rec {
10+ pname = "pyelectra" ;
11+ version = "1.2.4" ;
12+ pyproject = true ;
13+
14+ src = fetchFromGitHub {
15+ owner = "jafar-atili" ;
16+ repo = "pyelectra" ;
17+ rev = "refs/tags/${ 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+ }
Original file line number Diff line number Diff line change 10371037 "eight_sleep" = ps : with ps ; [
10381038 ] ;
10391039 "electrasmart" = ps : with ps ; [
1040- ] ; # missing inputs: pyElectra
1040+ pyelectra
1041+ ] ;
10411042 "electric_kiwi" = ps : with ps ; [
10421043 fnv-hash-fast
10431044 psutil-home-assistant
54125413 "edl21"
54135414 "efergy"
54145415 "eight_sleep"
5416+ "electrasmart"
54155417 "elgato"
54165418 "elkm1"
54175419 "elmax"
Original file line number Diff line number Diff line change @@ -11314,6 +11314,8 @@ self: super: with self; {
1131411314
1131511315 pyeight = callPackage ../development/python-modules/pyeight { };
1131611316
11317+ pyelectra = callPackage ../development/python-modules/pyelectra { };
11318+
1131711319 pyelftools = callPackage ../development/python-modules/pyelftools { };
1131811320
1131911321 pyemby = callPackage ../development/python-modules/pyemby { };
You can’t perform that action at this time.
0 commit comments