diff options
author | Marcus Ramberg <marcus@means.no> | 2024-05-12 18:47:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-12 18:47:37 +0200 |
commit | 7a94f133c26db7bad33b89da37e36cdd4fd770cf (patch) | |
tree | 3d5ec0b269a482248b4d288b5eb1285d0b9ef169 | |
parent | 3281bec7174f679eabf584591e75979a258d8c40 (diff) | |
parent | feac6072dc8768630e9f65d2adf9e4a9769e6b47 (diff) |
Merge pull request #310955 from dvn0/dvn0/glance-init
glance: init at 0.3.0
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/gl/glance/package.nix | 32 |
2 files changed, 38 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3cf75a3c03895..8d808434d76f2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5508,6 +5508,12 @@ fingerprint = "9484 44FC E03B 05BA 5AB0 591E C37B 1C1D 44C7 86EE"; }]; }; + dvn0 = { + email = "git@dvn.me"; + github = "dvn0"; + githubId = 10859387; + name = "Devan Carpenter"; + }; dwarfmaster = { email = "nixpkgs@dwarfmaster.net"; github = "dwarfmaster"; 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 ]; + }; +} |