mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
coyim: migrate to buildGoModule
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
8793dda389
commit
4f1a81e9fa
@ -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;
|
||||
};
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user