mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #113003 from fabaff/radiotherm
This commit is contained in:
commit
bf7b78a8a2
34
pkgs/development/python-modules/radiotherm/default.nix
Normal file
34
pkgs/development/python-modules/radiotherm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user