depot/pkgs/by-name/co/coyim/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

54 lines
996 B
Nix

{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
pkg-config,
cairo,
gdk-pixbuf,
glib,
adwaita-icon-theme,
wrapGAppsHook3,
gtk3,
}:
buildGoModule {
pname = "coyim";
version = "0.4.1-unstable-2023-09-21";
src = fetchFromGitHub {
owner = "coyim";
repo = "coyim";
rev = "3f84daa8c27277543b1b4ad4536dde5100d9df12";
hash = "sha256-lzhcUSBuAgYwcmdwnqNxKG0P6ZSjWeLS/g/gaF171D4=";
};
vendorHash = "sha256-zG7r/Db6XiwKoHRduGj3tEh/KT1hsuBoSGLYaZ+qO0Y=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
];
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;
broken = stdenv.hostPlatform.isDarwin;
maintainers = with lib.maintainers; [ PapayaJackal ];
};
}