python310Packages.nuheat: init at 1.0.1

This commit is contained in:
Fabian Affolter 2023-03-01 18:11:08 +01:00 committed by Martin Weinelt
parent dab946e350
commit b703d8e7fb
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, parameterized
, pytestCheckHook
, pythonOlder
, requests
, responses
}:
buildPythonPackage rec {
pname = "nuheat";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "broox";
repo = "python-nuheat";
rev = "refs/tags/${version}";
hash = "sha256-EsPuwILfKc1Bpvu0Qos7yooC3dBaqf46lWhiSZdu3sc=";
};
propagatedBuildInputs = [
requests
];
nativeCheckInputs = [
mock
parameterized
pytestCheckHook
responses
];
pythonImportsCheck = [
"nuheat"
];
meta = with lib; {
description = "Library to interact with NuHeat Signature and Mapei Mapeheat radiant floor thermostats";
homepage = "https://github.com/broox/python-nuheat";
changelog = "https://github.com/broox/python-nuheat/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6536,6 +6536,8 @@ self: super: with self; {
Nuitka = callPackage ../development/python-modules/nuitka { };
nuheat = callPackage ../development/python-modules/nuheat { };
nulltype = callPackage ../development/python-modules/nulltype { };
num2words = callPackage ../development/python-modules/num2words { };