mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
33 lines
815 B
Nix
33 lines
815 B
Nix
{ lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "glance";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "glanceapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-vcK8AW+B/YK4Jor86SRvJ8XFWvzeAUX5mVbXwrgxGlA=";
|
|
};
|
|
|
|
vendorHash = "sha256-Okme73vLc3Pe9+rNlmG8Bj1msKaVb5PaIBsAAeTer6s=";
|
|
|
|
excludedPackages = [ "scripts/build-and-ship" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/glanceapp/glance";
|
|
changelog = "https://github.com/glanceapp/glance/releases/tag/v${version}";
|
|
description = "A self-hosted dashboard that puts all your feeds in one place";
|
|
mainProgram = "glance";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ dvn0 ];
|
|
};
|
|
}
|