immich-cli: 2.2.4 -> 2.2.12

This commit is contained in:
Shogo Takata 2024-07-28 12:12:26 +09:00
parent 0ea5202cc3
commit 3b6dcb3aab
No known key found for this signature in database
GPG Key ID: 4BB7EF28F88F6E7A

View File

@ -5,13 +5,13 @@
}:
let
version = "2.2.4";
version = "2.2.12";
src = fetchFromGitHub {
owner = "immich-app";
repo = "immich";
# Using a fixed commit until upstream has release tags for cli.
rev = "8c2195c8205156f6e3168cc52fa34db334568ea9";
hash = "sha256-Tseu6aIrYU4Af/jWDi2wDtP77n/aogp7Qkn9mosMaes=";
rev = "04340b3a6210dc7a00359e781815ee0b9cd1b8fd";
hash = "sha256-PS1aZ6fcOudWlCFPuTeLBu3QrgUYnEuI5pBq3GGJ/bc=";
};
meta' = {
description = "CLI utilities for Immich to help upload images and videos";
@ -25,7 +25,7 @@ let
pname = "immich-cli-openapi-typescript-sdk";
inherit src version;
npmDepsHash = "sha256-WhNdFaFBwb6ehEQgbNJGdzPb3FdJk1Nefi8DcJfY9Wc=";
npmDepsHash = "sha256-TRFN+xg8BdvzJKP1Y7GJsoRaWqdGoxS3qYx1OlhnOoY=";
postPatch = ''
cd open-api/typescript-sdk
@ -44,7 +44,7 @@ let
pname = "immich-cli";
inherit src version;
npmDepsHash = "sha256-aSTN+I8B/aLT2ItGoyZTlbdn1VCK0ZmOb1QG7ZQuz+Q=";
npmDepsHash = "sha256-rzjfGqYxrfGQHRCMiEpP229eSHCWVugMohQ/ZL1r1EQ=";
postPatch = ''
ln -sv ${open-api-typescript-sdk}/lib/node_modules/@immich/sdk/{build,node_modules} open-api/typescript-sdk