diff options
author | Devan Carpenter <git@dvn.me> | 2024-05-11 19:48:34 -0400 |
---|---|---|
committer | Devan Carpenter <git@dvn.me> | 2024-05-12 11:48:52 -0400 |
commit | feac6072dc8768630e9f65d2adf9e4a9769e6b47 (patch) | |
tree | 9aa4f18ad29c782d715ebe443b566717449e750e | |
parent | d1e92ca7115df154e21a0272872548cf3624ab63 (diff) |
glance: init at 0.3.0
-rw-r--r-- | pkgs/by-name/gl/glance/package.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/gl/glance/package.nix b/pkgs/by-name/gl/glance/package.nix new file mode 100644 index 0000000000000..cd54b841d2881 --- /dev/null +++ b/pkgs/by-name/gl/glance/package.nix @@ -0,0 +1,32 @@ +{ lib, +buildGoModule, +fetchFromGitHub, +nix-update-script +}: + +buildGoModule rec { + pname = "glance"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "glanceapp"; + repo = pname; + rev = "v${version}"; + hash = "sha256-37nQEpJxioELNFJxacOUWOxGMFm80UtaYLDCxsoXRe8="; + }; + + 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 ]; + }; +} |