diff options
author | Paul Meyer <49727155+katexochen@users.noreply.github.com> | 2024-06-19 14:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 14:33:34 +0200 |
commit | 77c575a6e5a5bf6978c101af7af4380378313782 (patch) | |
tree | 4c3792258473e3c99e9a2220ce3fe6ce26866e41 /pkgs/by-name/co | |
parent | bae9958d60d6a5482219a4a76fa796f4315663a4 (diff) | |
parent | 47b635023459c73120854e7b80ec587425c504f6 (diff) |
Merge pull request #318581 from msanft/coyim/migrate-go-module
coyim: migrate to buildGoModule
Diffstat (limited to 'pkgs/by-name/co')
-rw-r--r-- | pkgs/by-name/co/coyim/package.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/by-name/co/coyim/package.nix b/pkgs/by-name/co/coyim/package.nix new file mode 100644 index 0000000000000..2906d324c2ae6 --- /dev/null +++ b/pkgs/by-name/co/coyim/package.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +, pkg-config +, cairo +, gdk-pixbuf +, glib +, gnome +, wrapGAppsHook3 +, gtk3 +}: + +buildGoModule { + pname = "coyim"; + version = "0.4.1-unstable-2023-09-21"; + + src = fetchFromGitHub { + owner = "coyim"; + repo = "coyim"; + rev = "3f84daa8c27277543b1b4ad4536dde5100d9df12"; + sha256 = "sha256-lzhcUSBuAgYwcmdwnqNxKG0P6ZSjWeLS/g/gaF171D4="; + }; + + vendorHash = "sha256-zG7r/Db6XiwKoHRduGj3tEh/KT1hsuBoSGLYaZ+qO0Y="; + + nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; + + buildInputs = [ glib cairo gdk-pixbuf gtk3 gnome.adwaita-icon-theme ]; + + 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.isDarwin; + }; +} |