Merge pull request #113003 from fabaff/radiotherm

This commit is contained in:
Sandro 2021-02-14 01:17:30 +01:00 committed by GitHub
commit bf7b78a8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "radiotherm";
version = "2.1.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "mhrivnak";
repo = pname;
rev = version;
sha256 = "0p37pc7l2malmjfkdlh4q2cfa6dqpsk1rah2j2xil0pj57ai6bks";
};
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "radiotherm" ];
meta = with lib; {
description = "Python library for Wifi Radiothermostat";
homepage = "https://github.com/mhrivnak/radiotherm";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -658,7 +658,7 @@
"qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch
"rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa rachiopy ];
"radarr" = ps: with ps; [ ];
"radiotherm" = ps: with ps; [ ]; # missing inputs: radiotherm
"radiotherm" = ps: with ps; [ radiotherm ];
"rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird
"raincloud" = ps: with ps; [ ]; # missing inputs: raincloudy
"rainforest_eagle" = ps: with ps; [ ]; # missing inputs: eagle200_reader uEagle

View File

@ -6679,6 +6679,8 @@ in {
radio_beam = callPackage ../development/python-modules/radio_beam { };
radiotherm = callPackage ../development/python-modules/radiotherm { };
radish-bdd = callPackage ../development/python-modules/radish-bdd { };
rainbowstream = callPackage ../development/python-modules/rainbowstream { };