python3Packages.radiotherm: init at 2.1.0

This commit is contained in:
Fabian Affolter 2021-02-13 14:04:02 +01:00
parent 5852a21819
commit a9927dfc27
2 changed files with 36 additions and 0 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

@ -6673,6 +6673,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 { };