python313Packages.pyicloud: 1.0.0 -> 2.1.0

Changelog: https://github.com/timlaing/pyicloud/releases/tag/2.1.0
This commit is contained in:
Fabian Affolter
2025-10-01 08:41:44 +02:00
parent f32a65cba7
commit 63fa10f991
@@ -1,56 +1,69 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
setuptools,
certifi,
click,
fetchFromGitHub,
fido2,
keyring,
keyrings-alt,
requests,
tzlocal,
pytest-mock,
pytest-socket,
pytestCheckHook,
pythonAtLeast,
requests,
setuptools,
setuptools-scm,
srp,
tzlocal,
}:
buildPythonPackage rec {
pname = "pyicloud";
version = "1.0.0";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "picklepete";
owner = "timlaing";
repo = "pyicloud";
rev = version;
hash = "sha256-2E1pdHHt8o7CGpdG+u4xy5OyNCueUGVw5CY8oicYd5w=";
tag = version;
hash = "sha256-bGS5yAizdaZUdwKNoZPKP/DSpJs5XI70hyTLfJg9QmI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
certifi
click
fido2
keyring
keyrings-alt
requests
srp
tzlocal
];
nativeCheckInputs = [
pytest-mock
pytest-socket
pytestCheckHook
];
pythonImportsCheck = [ "pyicloud" ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# https://github.com/picklepete/pyicloud/issues/446
"test_storage"
];
meta = with lib; {
description = "PyiCloud is a module which allows pythonistas to interact with iCloud webservices";
description = "Module to interact with iCloud webservices";
mainProgram = "icloud";
homepage = "https://github.com/picklepete/pyicloud";
homepage = "https://github.com/timlaing/pyicloud";
changelog = "https://github.com/timlaing/pyicloud/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};