Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immich-go: init at 0.13.2 #303799

Merged
merged 2 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10141,6 +10141,11 @@
githubId = 6544084;
name = "Kai Harries";
};
kai-tub = {
name = "Kai Norman Clasen";
github = "kai-tub";
githubId = 46302524;
};
kalbasit = {
email = "[email protected]";
matrix = "@kalbasit:matrix.org";
Expand Down
47 changes: 47 additions & 0 deletions pkgs/by-name/im/immich-go/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, immich-go }:
buildGoModule rec {
pname = "immich-go";
version = "0.13.2";

src = fetchFromGitHub {
owner = "simulot";
repo = "immich-go";
rev = "${version}";
hash = "sha256-zYqPPLDfBx4FLvZIo5E6nAeIiFfBCLI00xLieXFkMxs=";
};

vendorHash = "sha256-Y5BujN2mk662oKxQpenjFlxazST2GqWr9ug0sOsxKbY=";

# options used by upstream:
# https://github.com/simulot/immich-go/blob/0.13.2/.goreleaser.yaml
ldflags = [
"-s"
"-w"
"-extldflags=-static"
"-X main.version=${version}"
"-X main.commit=${version}"
"-X main.date=unknown"
];

passthru = {
updateScript = nix-update-script { };
tests.versionTest = testers.testVersion {
package = immich-go;
command = "immich-go -h";
version = version;
};
};

meta = {
description = "Immich client tool for bulk-uploads";
longDescription = ''
Immich-Go is an open-source tool designed to streamline uploading
large photo collections to your self-hosted Immich server.
'';
homepage = "https://github.com/simulot/immich-go";
mainProgram = "immich-go";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ kai-tub ];
changelog = "https://github.com/simulot/immich-go/releases/tag/${version}";
};
}