summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin-plugins/carbons/default.nix
blob: 7c2150a584fe60244b22bccac065b742114dd618 (plain) (blame)
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
{ stdenv, libxml2, pidgin, pkgconfig, fetchFromGitHub } :

stdenv.mkDerivation rec {
  pname = "pidgin-carbons";
  version = "0.2.2";

  src = fetchFromGitHub {
    owner = "gkdr";
    repo  = "carbons";
    rev   = "v${version}";
    sha256 = "1aq9bwgpmbwrigq6ywf0pjkngqcm0qxncygaj1fi57npjhcjs6ln";
  };

  makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libxml2 pidgin ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/gkdr/carbons";
    description = "XEP-0280: Message Carbons plugin for libpurple";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ ];
  };
}