nixpkgs/pkgs/tools/misc/immich-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
693 B
Nix
Raw Normal View History

2023-08-20 03:30:11 +02:00
{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "immich-cli";
version = "0.41.0";
src = fetchFromGitHub {
owner = "immich-app";
repo = "CLI";
rev = "v${version}";
hash = "sha256-BpJNssNTJZASH5VTgTNJ0ILj0XucWvyn3Y7hQdfCEGQ=";
};
npmDepsHash = "sha256-GOYWPRAzV59iaX32I42dOOEv1niLiDIPagzQ/QBBbKc=";
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";
license = lib.licenses.mit;
mainProgram = "immich";
maintainers = with lib.maintainers; [ felschr ];
};
}