Merge pull request #279832 from pineapplehunter/immich

immich-cli: 0.41.0 -> 2.0.6
This commit is contained in:
Robert Schütz 2024-01-12 14:45:56 +01:00 committed by GitHub
commit 9d4636da39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};
}