Unverified Commit 533209cf authored by Jon Seager's avatar Jon Seager Committed by GitHub
Browse files

icloudpd: 1.19.1 -> 1.24.0 (#351484)

parents 6f6b7211 8cb288ce
Loading
Loading
Loading
Loading
+34 −25
Original line number Diff line number Diff line
{ lib
, python3Packages
, fetchFromGitHub
, nix-update-script
, testers
, icloudpd
{
  lib,
  python3Packages,
  fetchFromGitHub,
  nix-update-script,
  testers,
  icloudpd,
}:

python3Packages.buildPythonApplication rec {
  pname = "icloudpd";
  version = "1.19.1";
  version = "1.24.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "icloud-photos-downloader";
    repo = "icloud_photos_downloader";
    rev = "v${version}";
    hash = "sha256-0DbYbBs/8irj/55+WHyNj+iLWh7KqxReVWfmsWz43Xo=";
    hash = "sha256-IP5bjRmHlVKYmcsR1g9B/p4KzVpCyBomwznPwjay4wA=";
  };

  pythonRelaxDeps = true;

  propagatedBuildInputs = with python3Packages; [
    wheel
    setuptools
    requests
    schema
    click
    python-dateutil
    tqdm
    piexif
    urllib3
    six
    tzlocal
    pytz
  dependencies = with python3Packages; [
    certifi
    click
    flask
    keyring
    keyrings-alt
    piexif
    python-dateutil
    pytz
    requests
    schema
    six
    srp
    tqdm
    typing-extensions
    tzlocal
    urllib3
    waitress
    wheel
  ];

  build-system = with python3Packages; [ setuptools ];

  nativeCheckInputs = with python3Packages; [
    pytestCheckHook
    mock
    freezegun
    vcrpy
    mock
    pytest-timeout
    pytestCheckHook
    vcrpy
  ];

  disabledTests = [
@@ -57,6 +62,7 @@ python3Packages.buildPythonApplication rec {
    "test_autodelete_photos_dry_run"
    "test_retry_fail_delete_after_download_internal_error"
    "test_autodelete_invalid_creation_date"
    "test_folder_structure_de_posix"
  ];

  passthru = {
@@ -75,6 +81,9 @@ python3Packages.buildPythonApplication rec {
    description = "iCloud Photos Downloader";
    license = licenses.mit;
    mainProgram = "icloudpd";
    maintainers = with maintainers; [ anpin jnsgruk ];
    maintainers = with maintainers; [
      anpin
      jnsgruk
    ];
  };
}