depot/third_party/nixpkgs/pkgs/by-name/gl/glance/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

39 lines
906 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
nixosTests,
}:
buildGoModule rec {
pname = "glance";
version = "0.5.0";
src = fetchFromGitHub {
owner = "glanceapp";
repo = "glance";
rev = "v${version}";
hash = "sha256-37DmLZ8ESJwB2R8o5WjeypKsCQwarF3x8UYz1OQT/tM=";
};
vendorHash = "sha256-Okme73vLc3Pe9+rNlmG8Bj1msKaVb5PaIBsAAeTer6s=";
excludedPackages = [ "scripts/build-and-ship" ];
passthru = {
updateScript = nix-update-script { };
tests = {
service = nixosTests.glance;
};
};
meta = {
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";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ dvn0 ];
};
}