Merge pull request #259394 from hmenke/gtkcord4

This commit is contained in:
Ryan Lahfa
2023-12-10 16:46:58 +01:00
committed by GitHub
+7 -7
View File
@@ -18,13 +18,13 @@
buildGoModule rec {
pname = "gtkcord4";
version = "0.0.12";
version = "0.0.16-1";
src = fetchFromGitHub {
owner = "diamondburned";
repo = pname;
rev = "v${version}";
hash = "sha256-x//PST2f501QuxRdPe3cYbpL66/zLJWmscED9SbxsTk=";
hash = "sha256-GDQ11X202RIoJUZ2eJ9ukHalhXtKYn9C8lcvAzzaB+4=";
};
nativeBuildInputs = [
@@ -52,17 +52,17 @@ buildGoModule rec {
];
postInstall = ''
install -D -m 444 -t $out/share/applications nix/xyz.diamondb.gtkcord4.desktop
install -D -m 444 internal/icons/svg/logo.svg $out/share/icons/hicolor/scalable/apps/gtkcord4.svg
install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png
install -D -m 444 -t $out/share/applications nix/so.libdb.gtkcord4.desktop
install -D -m 444 internal/icons/hicolor/scalable/apps/logo.svg $out/share/icons/hicolor/scalable/apps/gtkcord4.svg
'';
vendorHash = "sha256-LCLZBcYiexffvCr4vdZdIwNKo0s4mqPc6KxRumRhf1Y=";
vendorHash = "sha256-ZQBYi5t6ntukoHP2FtwpZrpFd7b2opPC8tOSU9j3jUM=";
meta = with lib; {
description = "GTK4 Discord client in Go, attempt #4.";
description = "GTK4 Discord client in Go, attempt #4";
homepage = "https://github.com/diamondburned/gtkcord4";
license = licenses.gpl3Only;
mainProgram = "gtkcord4";
maintainers = with maintainers; [ hmenke urandom aleksana ];
};
}