mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #157969 from fabaff/intellifire4py
This commit is contained in:
commit
d5b81d94d3
45
pkgs/development/python-modules/intellifire4py/default.nix
Normal file
45
pkgs/development/python-modules/intellifire4py/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -414,7 +414,7 @@
|
|||||||
"input_text" = ps: with ps; [ ];
|
"input_text" = ps: with ps; [ ];
|
||||||
"insteon" = ps: with ps; [ pyinsteon ];
|
"insteon" = ps: with ps; [ pyinsteon ];
|
||||||
"integration" = ps: with ps; [ ];
|
"integration" = ps: with ps; [ ];
|
||||||
"intellifire" = ps: with ps; [ ]; # missing inputs: intellifire4py
|
"intellifire" = ps: with ps; [ intellifire4py ];
|
||||||
"intent" = ps: with ps; [ aiohttp-cors ];
|
"intent" = ps: with ps; [ aiohttp-cors ];
|
||||||
"intent_script" = ps: with ps; [ ];
|
"intent_script" = ps: with ps; [ ];
|
||||||
"intesishome" = ps: with ps; [ pyintesishome ];
|
"intesishome" = ps: with ps; [ pyintesishome ];
|
||||||
@ -1277,6 +1277,7 @@
|
|||||||
"input_text"
|
"input_text"
|
||||||
"insteon"
|
"insteon"
|
||||||
"integration"
|
"integration"
|
||||||
|
"intellifire"
|
||||||
"intent"
|
"intent"
|
||||||
"intent_script"
|
"intent_script"
|
||||||
"ios"
|
"ios"
|
||||||
|
@ -3999,6 +3999,8 @@ in {
|
|||||||
|
|
||||||
intelhex = callPackage ../development/python-modules/intelhex { };
|
intelhex = callPackage ../development/python-modules/intelhex { };
|
||||||
|
|
||||||
|
intellifire4py = callPackage ../development/python-modules/intellifire4py { };
|
||||||
|
|
||||||
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
|
intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };
|
||||||
|
|
||||||
internetarchive = callPackage ../development/python-modules/internetarchive { };
|
internetarchive = callPackage ../development/python-modules/internetarchive { };
|
||||||
|
Loading…
Reference in New Issue
Block a user