depot/third_party/nixpkgs/pkgs/tools/misc/immich-cli/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

27 lines
693 B
Nix

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