Merge pull request #308651 from fabaff/heatzypy-bump

python312Packages.heatzypy: 2.2.0 -> 2.5.4
This commit is contained in:
Fabian Affolter 2024-05-03 09:16:21 +02:00 committed by GitHub
commit 0d9fb09b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,17 +1,17 @@
{ lib {
, aiohttp lib,
, buildPythonPackage aiohttp,
, fetchFromGitHub buildPythonPackage,
, requests fetchFromGitHub,
, pytestCheckHook pytestCheckHook,
, pythonOlder pythonOlder,
, setuptools setuptools,
, wheel setuptools-scm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "heatzypy"; pname = "heatzypy";
version = "2.2.0"; version = "2.5.4";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -20,30 +20,20 @@ buildPythonPackage rec {
owner = "Cyr-ius"; owner = "Cyr-ius";
repo = "heatzypy"; repo = "heatzypy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-Q6v1Ob1PY8tpMnd8hchepq983dsZ6lJPCKz83RRwL3w="; hash = "sha256-A01e3duNQmVv9vyOs6+gF/BdevLiYi/uXSq5bKmuRao=";
}; };
postPatch = '' build-system = [
substituteInPlace pyproject.toml \
--replace "replace_by_workflow" "${version}"
'';
nativeBuildInputs = [
setuptools setuptools
wheel setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [ aiohttp ];
aiohttp
requests
];
# Module has no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "heatzypy" ];
"heatzypy"
];
meta = with lib; { meta = with lib; {
description = "Module to interact with Heatzy devices"; description = "Module to interact with Heatzy devices";