nixpkgs/pkgs/by-name/gl/glance/package.nix

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

40 lines
906 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
2024-07-01 07:34:00 +00:00
nixosTests,
2024-05-11 23:48:34 +00:00
}:
buildGoModule rec {
pname = "glance";
2024-09-30 00:35:33 +00:00
version = "0.6.2";
2024-05-11 23:48:34 +00:00
src = fetchFromGitHub {
owner = "glanceapp";
2024-07-01 07:34:00 +00:00
repo = "glance";
2024-05-11 23:48:34 +00:00
rev = "v${version}";
2024-09-30 00:35:33 +00:00
hash = "sha256-A2EFIDwJbIzRDAxFKW7znZFYKYpqOMEixUG0yUDx7zc=";
2024-05-11 23:48:34 +00:00
};
2024-09-08 16:17:01 +00:00
vendorHash = "sha256-BLWaYiWcLX+/DW7Zzp6/Mtw5uVxIVtfubB895hrZ+08=";
2024-05-11 23:48:34 +00:00
excludedPackages = [ "scripts/build-and-ship" ];
2024-07-01 07:34:00 +00:00
passthru = {
updateScript = nix-update-script { };
tests = {
service = nixosTests.glance;
};
};
2024-05-11 23:48:34 +00:00
2024-07-01 07:34:00 +00:00
meta = {
2024-05-11 23:48:34 +00:00
homepage = "https://github.com/glanceapp/glance";
changelog = "https://github.com/glanceapp/glance/releases/tag/v${version}";
description = "Self-hosted dashboard that puts all your feeds in one place";
mainProgram = "glance";
2024-07-01 07:34:00 +00:00
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ dvn0 ];
2024-05-11 23:48:34 +00:00
};
}