blob: 8223f9598b61f0b81c62b881f7de3c2388b271a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, stdenv
, buildGoPackage
, fetchFromGitHub
, pkg-config
, cairo
, gdk-pixbuf
, glib
, gnome
, wrapGAppsHook
, gtk3
}:
buildGoPackage rec {
pname = "coyim";
version = "0.4.1";
goPackagePath = "github.com/coyim/coyim";
src = fetchFromGitHub {
owner = "coyim";
repo = "coyim";
rev = "v${version}";
sha256 = "sha256-PmB6POaHKEXzIAaz3lAbUOhtVOzrj5oXRk90giYo6SI=";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = [ glib cairo gdk-pixbuf gtk3 gnome.adwaita-icon-theme ];
meta = with lib; {
description = "a safe and secure chat client";
mainProgram = "coyim";
homepage = "https://coy.im/";
license = licenses.gpl3;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
broken = stdenv.isDarwin;
};
}
|