Merge pull request #157969 from fabaff/intellifire4py

This commit is contained in:
Martin Weinelt 2022-02-03 20:26:04 +01:00 committed by GitHub
commit d5b81d94d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,45 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pydantic
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "intellifire4py";
version = "0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jeeftor";
repo = pname;
rev = version;
hash = "sha256-ESNFTlzwxv0SZA/vVU3aIjkt5nCX3D4VbwIRNSzMIK4=";
};
propagatedBuildInputs = [
aiohttp
pydantic
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"intellifire4py"
];
meta = with lib; {
description = "Module to read Intellifire fireplace status data";
homepage = "https://github.com/jeeftor/intellifire4py";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -414,7 +414,7 @@
"input_text" = ps: with ps; [ ];
"insteon" = ps: with ps; [ pyinsteon ];
"integration" = ps: with ps; [ ];
"intellifire" = ps: with ps; [ ]; # missing inputs: intellifire4py
"intellifire" = ps: with ps; [ intellifire4py ];
"intent" = ps: with ps; [ aiohttp-cors ];
"intent_script" = ps: with ps; [ ];
"intesishome" = ps: with ps; [ pyintesishome ];
@ -1277,6 +1277,7 @@
"input_text"
"insteon"
"integration"
"intellifire"
"intent"
"intent_script"
"ios"

View File

@ -3999,6 +3999,8 @@ in {
intelhex = callPackage ../development/python-modules/intelhex { };
intellifire4py = callPackage ../development/python-modules/intellifire4py { };
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
internetarchive = callPackage ../development/python-modules/internetarchive { };