coyim: migrate to buildGoModule

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
Moritz Sanft 2024-06-09 19:06:00 +02:00
parent 8793dda389
commit 4f1a81e9fa
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615
2 changed files with 10 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, buildGoPackage
, buildGoModule
, fetchFromGitHub
, pkg-config
, cairo
@ -11,28 +11,28 @@
, gtk3
}:
buildGoPackage rec {
buildGoModule {
pname = "coyim";
version = "0.4.1";
goPackagePath = "github.com/coyim/coyim";
version = "0.4.1-unstable-2023-09-21";
src = fetchFromGitHub {
owner = "coyim";
repo = "coyim";
rev = "v${version}";
sha256 = "sha256-PmB6POaHKEXzIAaz3lAbUOhtVOzrj5oXRk90giYo6SI=";
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 = with lib; {
description = "Safe and secure chat client";
meta = {
description = "a safe and secure chat client";
mainProgram = "coyim";
homepage = "https://coy.im/";
license = licenses.gpl3;
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.isDarwin;
};

View File

@ -30107,8 +30107,6 @@ with pkgs;
coursera-dl = callPackage ../applications/misc/coursera-dl { };
coyim = callPackage ../applications/networking/instant-messengers/coyim { };
cozy-drive = callPackage ../applications/networking/cozy-drive { };
cplay-ng = callPackage ../applications/audio/cplay-ng { };