Skip to content

Commit

Permalink
Merge pull request #279832 from pineapplehunter/immich
Browse files Browse the repository at this point in the history
immich-cli: 0.41.0 -> 2.0.6
  • Loading branch information
dotlambda committed Jan 12, 2024
2 parents f7569cb + e9a0f9b commit 9d4636d
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkgs/tools/misc/immich-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,29 @@
, fetchFromGitHub
}:

buildNpmPackage rec {
buildNpmPackage {
pname = "immich-cli";
version = "0.41.0";
version = "2.0.6";

src = fetchFromGitHub {
owner = "immich-app";
repo = "CLI";
rev = "v${version}";
hash = "sha256-BpJNssNTJZASH5VTgTNJ0ILj0XucWvyn3Y7hQdfCEGQ=";
repo = "immich";
# Using a fixed commit until upstream has release tags for cli.
rev = "014adf175ad50a61f92804666940e267ab329064";
hash = "sha256-MK3Watq5/Zp+rymCIfWxAXSgBPDE13g23uDnW7A5x9g=";
};

npmDepsHash = "sha256-GOYWPRAzV59iaX32I42dOOEv1niLiDIPagzQ/QBBbKc=";
npmDepsHash = "sha256-ssxOXKE1t/bSb972w/cBeK61IrqPLmx9ODMn6D+2Ezw=";

postPatch = ''
cd cli
'';

meta = {
changelog = "https://github.com/immich-app/CLI/releases/tag/${src.rev}";
description = "CLI utilities for Immich to help upload images and videos";
homepage = "https://github.com/immich-app/CLI";
homepage = "https://github.com/immich-app/immich";
license = lib.licenses.mit;
mainProgram = "immich";
maintainers = with lib.maintainers; [ felschr ];
maintainers = with lib.maintainers; [ felschr pineapplehunter ];
};
}

0 comments on commit 9d4636d

Please sign in to comment.