Merge pull request #318581 from msanft/coyim/migrate-go-module

coyim: migrate to buildGoModule
This commit is contained in:
Paul Meyer 2024-06-19 14:33:34 +02:00 committed by GitHub
commit 77c575a6e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 11 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; {
meta = {
description = "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

@ -30048,8 +30048,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 { };