2022-11-16 02:44:54 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildGoPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, cairo
|
|
|
|
, gdk-pixbuf
|
|
|
|
, glib
|
|
|
|
, gnome
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gtk3
|
|
|
|
}:
|
2017-04-21 16:36:21 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "coyim";
|
2023-03-11 20:37:45 +00:00
|
|
|
version = "0.4.1";
|
2017-04-21 16:36:21 +00:00
|
|
|
|
2019-04-04 20:43:38 +00:00
|
|
|
goPackagePath = "github.com/coyim/coyim";
|
2017-04-21 16:36:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-04-04 20:43:38 +00:00
|
|
|
owner = "coyim";
|
2017-04-21 16:36:21 +00:00
|
|
|
repo = "coyim";
|
2019-04-04 20:43:38 +00:00
|
|
|
rev = "v${version}";
|
2023-03-11 20:37:45 +00:00
|
|
|
sha256 = "sha256-PmB6POaHKEXzIAaz3lAbUOhtVOzrj5oXRk90giYo6SI=";
|
2017-04-21 16:36:21 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2020-03-18 12:28:34 +00:00
|
|
|
|
2021-05-07 21:18:14 +00:00
|
|
|
buildInputs = [ glib cairo gdk-pixbuf gtk3 gnome.adwaita-icon-theme ];
|
2017-04-21 16:36:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-04-21 16:36:21 +00:00
|
|
|
description = "a safe and secure chat client";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "coyim";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://coy.im/";
|
2017-11-25 07:28:08 +00:00
|
|
|
license = licenses.gpl3;
|
2022-11-16 02:44:54 +00:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
broken = stdenv.isDarwin;
|
2017-04-21 16:36:21 +00:00
|
|
|
};
|
|
|
|
}
|