python3Packages.intellifire4py: init at 0.5

This commit is contained in:
Fabian Affolter
2022-02-03 19:20:49 +01:00
parent 7cb44e1b8e
commit 6593e3f2ae
2 changed files with 47 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -3997,6 +3997,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 { };