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-06-05 22:43:35 +00:00
version = "0.5.0";
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-06-05 22:43:35 +00:00
hash = "sha256-37DmLZ8ESJwB2R8o5WjeypKsCQwarF3x8UYz1OQT/tM=";
2024-05-11 23:48:34 +00:00
};
vendorHash = "sha256-Okme73vLc3Pe9+rNlmG8Bj1msKaVb5PaIBsAAeTer6s=";
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";
2024-05-11 23:48:34 +00:00
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
};
}