10 src = "${immich.src}/cli";
11 inherit (immich.sources.components.cli) version npmDepsHash;
13 nativeBuildInputs = [ makeWrapper ];
15 inherit (immich.web) preBuild;
21 mv package.json package-lock.json node_modules dist $out/
23 makeWrapper ${lib.getExe nodejs} $out/bin/immich --add-flags $out/dist/index.js
29 description = "Self-hosted photo and video backup solution (command line interface)";
30 homepage = "https://immich.app/docs/features/command-line-interface";
31 license = lib.licenses.agpl3Only;
32 maintainers = with lib.maintainers; [ jvanbruegge ];
33 inherit (nodejs.meta) platforms;
34 mainProgram = "immich";