mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
immich-cli: 0.41.0 -> 2.0.6
This commit is contained in:
parent
211f1d86a9
commit
e9a0f9b484
|
@ -3,25 +3,29 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage {
|
||||||
pname = "immich-cli";
|
pname = "immich-cli";
|
||||||
version = "0.41.0";
|
version = "2.0.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "immich-app";
|
owner = "immich-app";
|
||||||
repo = "CLI";
|
repo = "immich";
|
||||||
rev = "v${version}";
|
# Using a fixed commit until upstream has release tags for cli.
|
||||||
hash = "sha256-BpJNssNTJZASH5VTgTNJ0ILj0XucWvyn3Y7hQdfCEGQ=";
|
rev = "014adf175ad50a61f92804666940e267ab329064";
|
||||||
|
hash = "sha256-MK3Watq5/Zp+rymCIfWxAXSgBPDE13g23uDnW7A5x9g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-GOYWPRAzV59iaX32I42dOOEv1niLiDIPagzQ/QBBbKc=";
|
npmDepsHash = "sha256-ssxOXKE1t/bSb972w/cBeK61IrqPLmx9ODMn6D+2Ezw=";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
cd cli
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
changelog = "https://github.com/immich-app/CLI/releases/tag/${src.rev}";
|
|
||||||
description = "CLI utilities for Immich to help upload images and videos";
|
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;
|
license = lib.licenses.mit;
|
||||||
mainProgram = "immich";
|
mainProgram = "immich";
|
||||||
maintainers = with lib.maintainers; [ felschr ];
|
maintainers = with lib.maintainers; [ felschr pineapplehunter ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue