Merge pull request #120272 from fabaff/pynx584

authored by

Martin Weinelt and committed by
GitHub
79cb2cb9 a41dc340

+52 -1
+48
pkgs/development/python-modules/pynx584/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , flask 5 + , mock 6 + , prettytable 7 + , pyserial 8 + , pytestCheckHook 9 + , pythonOlder 10 + , requests 11 + , stevedore 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "pynx584"; 16 + version = "0.6"; 17 + disabled = pythonOlder "3.6"; 18 + 19 + 20 + src = fetchFromGitHub { 21 + owner = "kk7ds"; 22 + repo = pname; 23 + rev = version; 24 + sha256 = "0if1jq8qiqp4w4zhf2xzzcb8y70hr5pxqzh96i008p6izjha89y6"; 25 + }; 26 + 27 + propagatedBuildInputs = [ 28 + flask 29 + prettytable 30 + pyserial 31 + requests 32 + stevedore 33 + ]; 34 + 35 + checkInputs = [ 36 + mock 37 + pytestCheckHook 38 + ]; 39 + 40 + pythonImportsCheck = [ "nx584" ]; 41 + 42 + meta = with lib; { 43 + description = "Python package for communicating to NX584/NX8E interfaces"; 44 + homepage = "https://github.com/kk7ds/pynx584"; 45 + license = with licenses; [ gpl3Only ]; 46 + maintainers = with maintainers; [ fab ]; 47 + }; 48 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 573 573 "number" = ps: with ps; [ ]; 574 574 "nut" = ps: with ps; [ ]; # missing inputs: pynut2 575 575 "nws" = ps: with ps; [ pynws ]; 576 - "nx584" = ps: with ps; [ ]; # missing inputs: pynx584 576 + "nx584" = ps: with ps; [ pynx584 ]; 577 577 "nzbget" = ps: with ps; [ ]; # missing inputs: pynzbgetapi 578 578 "oasa_telematics" = ps: with ps; [ ]; # missing inputs: oasatelematics 579 579 "obihai" = ps: with ps; [ ]; # missing inputs: pyobihai
+1
pkgs/servers/home-assistant/default.nix
··· 332 332 "notify" 333 333 "notion" 334 334 "number" 335 + "nx584" 335 336 "omnilogic" 336 337 "ondilo_ico" 337 338 "openerz"
+2
pkgs/top-level/python-packages.nix
··· 4964 4964 4965 4965 pynws = callPackage ../development/python-modules/pynws { }; 4966 4966 4967 + pynx584 = callPackage ../development/python-modules/pynx584 { }; 4968 + 4967 4969 pysbd = callPackage ../development/python-modules/pysbd { }; 4968 4970 4969 4971 pyshark = callPackage ../development/python-modules/pyshark { };