2017-04-18 17:24:55 +01:00
|
|
|
{ stdenv, libxml2, pidgin, pkgconfig, fetchFromGitHub } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pidgin-carbons";
|
2020-04-15 07:32:34 +01:00
|
|
|
version = "0.2.2";
|
2017-04-18 17:24:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gkdr";
|
|
|
|
repo = "carbons";
|
|
|
|
rev = "v${version}";
|
2020-04-15 07:32:34 +01:00
|
|
|
sha256 = "1aq9bwgpmbwrigq6ywf0pjkngqcm0qxncygaj1fi57npjhcjs6ln";
|
2017-04-18 17:24:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PURPLE_PLUGIN_DIR=$(out)/lib/pidgin" ];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 pidgin ];
|
2017-04-18 17:24:55 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/gkdr/carbons";
|
2017-04-18 17:24:55 +01:00
|
|
|
description = "XEP-0280: Message Carbons plugin for libpurple";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2020-04-17 01:22:51 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-04-18 17:24:55 +01:00
|
|
|
};
|
|
|
|
}
|