python3Packages.heatzypy: init at 1.4.2

This commit is contained in:
Fabian Affolter 2021-12-03 21:36:18 +01:00 committed by Jonathan Ringer
parent 23f4fb4d14
commit f9a1652a85
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "heatzypy";
version = "1.4.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Cyr-ius";
repo = pname;
rev = version;
sha256 = "nENuH2u9RtWq86TW/sDFFeYS8GTWGj7qfcFS8AHFRGk=";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"heatzypy"
];
meta = with lib; {
description = "Python module to interact with Heatzy devices";
homepage = "https://github.com/Cyr-ius/heatzypy";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3524,6 +3524,8 @@ in {
heapdict = callPackage ../development/python-modules/heapdict { };
heatzypy = callPackage ../development/python-modules/heatzypy { };
helpdev = callPackage ../development/python-modules/helpdev { };
helper = callPackage ../development/python-modules/helper { };