Merge pull request #301425 from r-ryantm/auto-update/python312Packages.myuplink

python312Packages.myuplink: 0.5.0 -> 0.6.0
This commit is contained in:
Fabian Affolter 2024-04-04 11:14:29 +02:00 committed by GitHub
commit 98db77171c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,23 +1,24 @@
{ lib {
, aiohttp lib,
, buildPythonPackage aiohttp,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, setuptools pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "myuplink"; pname = "myuplink";
version = "0.5.0"; version = "0.6.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pajzo"; owner = "pajzo";
repo = "myuplink"; repo = "myuplink";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-UJGRQqgtbYBwfjys2sYiC3dx8Doesu34EBys5Y++qBY="; hash = "sha256-QIFTM4RQR3C67q+sBUCPhUyXylzplNAppHjzvU7i2YU=";
}; };
postPatch = '' postPatch = ''
@ -25,17 +26,11 @@ buildPythonPackage rec {
--replace-fail "%%VERSION_NO%%" "${version}" --replace-fail "%%VERSION_NO%%" "${version}"
''; '';
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [ aiohttp ];
aiohttp
];
pythonImportsCheck = [ pythonImportsCheck = [ "myuplink" ];
"myuplink"
];
meta = with lib; { meta = with lib; {
description = "Module to interact with the myUplink API"; description = "Module to interact with the myUplink API";