Merge pull request #113797 from fabaff/tahoma-api

authored by Sandro and committed by GitHub 7866dda0 3d3500d7

+33 -1
+30
pkgs/development/python-modules/tahoma-api/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , requests 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "tahoma-api"; 9 + version = "0.0.17"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "philklei"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + sha256 = "sha256-YwOKSBlN4lNyS+hfdbQDUq1gc14FBof463ofxtUVLC4="; 16 + }; 17 + 18 + propagatedBuildInputs = [ requests ]; 19 + 20 + # Project has no tests 21 + doCheck = false; 22 + pythonImportsCheck = [ "tahoma_api" ]; 23 + 24 + meta = with lib; { 25 + description = "Python module to interface with Tahoma REST API"; 26 + homepage = "https://github.com/philklei/tahoma-api/"; 27 + license = with licenses; [ asl20 ]; 28 + maintainers = with maintainers; [ fab ]; 29 + }; 30 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 815 "systemmonitor" = ps: with ps; [ psutil ]; 816 "tado" = ps: with ps; [ python-tado ]; 817 "tag" = ps: with ps; [ ]; 818 - "tahoma" = ps: with ps; [ ]; # missing inputs: tahoma-api 819 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility 820 "tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig 821 "tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff
··· 815 "systemmonitor" = ps: with ps; [ psutil ]; 816 "tado" = ps: with ps; [ python-tado ]; 817 "tag" = ps: with ps; [ ]; 818 + "tahoma" = ps: with ps; [ tahoma-api ]; 819 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility 820 "tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig 821 "tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff
+2
pkgs/top-level/python-packages.nix
··· 7687 7688 tag-expressions = callPackage ../development/python-modules/tag-expressions { }; 7689 7690 tarman = callPackage ../development/python-modules/tarman { }; 7691 7692 tasklib = callPackage ../development/python-modules/tasklib { };
··· 7687 7688 tag-expressions = callPackage ../development/python-modules/tag-expressions { }; 7689 7690 + tahoma-api = callPackage ../development/python-modules/tahoma-api { }; 7691 + 7692 tarman = callPackage ../development/python-modules/tarman { }; 7693 7694 tasklib = callPackage ../development/python-modules/tasklib { };