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