immich-cli: 0.41.0 -> 2.0.6

This commit is contained in:
shogo 2024-01-09 22:14:44 +09:00 committed by Shogo Takata
parent 211f1d86a9
commit e9a0f9b484

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