coyim: fix build on aarch64 (#350062)

This commit is contained in:
Aleksana
2024-10-27 11:59:53 +08:00
committed by GitHub
2 changed files with 34 additions and 14 deletions
+5
View File
@@ -16361,6 +16361,11 @@
githubId = 33182938;
name = "Pankaj";
};
PapayaJackal = {
github = "PapayaJackal";
githubId = 145766029;
name = "PapayaJackal";
};
paperdigits = {
email = "mica@silentumbrella.com";
github = "paperdigits";
+29 -14
View File
@@ -1,14 +1,15 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, pkg-config
, cairo
, gdk-pixbuf
, glib
, adwaita-icon-theme
, wrapGAppsHook3
, gtk3
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
pkg-config,
cairo,
gdk-pixbuf,
glib,
adwaita-icon-theme,
wrapGAppsHook3,
gtk3,
}:
buildGoModule {
@@ -24,16 +25,30 @@ buildGoModule {
vendorHash = "sha256-zG7r/Db6XiwKoHRduGj3tEh/KT1hsuBoSGLYaZ+qO0Y=";
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
];
buildInputs = [ glib cairo gdk-pixbuf gtk3 adwaita-icon-theme ];
buildInputs = [
glib
cairo
gdk-pixbuf
gtk3
adwaita-icon-theme
];
postPatch = ''
# fixes build on aarch64
rm -v windows_amd64_icon.syso
'';
meta = {
description = "Safe and secure chat client";
mainProgram = "coyim";
homepage = "https://coy.im/";
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.hostPlatform.isDarwin;
maintainers = with lib.maintainers; [ PapayaJackal ];
};
}