9 python3Packages.buildPythonApplication rec {
14 src = fetchFromGitHub {
15 owner = "icloud-photos-downloader";
16 repo = "icloud_photos_downloader";
18 hash = "sha256-0DbYbBs/8irj/55+WHyNj+iLWh7KqxReVWfmsWz43Xo=";
21 pythonRelaxDeps = true;
23 propagatedBuildInputs = with python3Packages; [
42 nativeCheckInputs = with python3Packages; [
52 "test_autodelete_photos"
53 "test_download_autodelete_photos"
54 "test_retry_delete_after_download_session_error"
55 "test_retry_fail_delete_after_download_session_error"
56 "test_retry_delete_after_download_internal_error"
57 "test_autodelete_photos_dry_run"
58 "test_retry_fail_delete_after_download_internal_error"
59 "test_autodelete_invalid_creation_date"
63 updateScript = nix-update-script { };
64 tests = testers.testVersion { package = icloudpd; };
68 substituteInPlace pyproject.toml \
69 --replace "setuptools==69.0.2" "setuptools" \
70 --replace "wheel==0.42.0" "wheel"
74 homepage = "https://github.com/icloud-photos-downloader/icloud_photos_downloader";
75 description = "iCloud Photos Downloader";
76 license = licenses.mit;
77 mainProgram = "icloudpd";
78 maintainers = with maintainers; [ anpin jnsgruk ];