Merge pull request #310955 from dvn0/dvn0/glance-init

glance: init at 0.3.0
This commit is contained in:
Marcus Ramberg 2024-05-12 18:47:37 +02:00 committed by GitHub
commit 7a94f133c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

View File

@ -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";

View File

@ -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 ];
};
}