2017-04-18 17:24:55 +01:00
|
|
|
{ stdenv, libxml2, pidgin, pkgconfig, fetchFromGitHub } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pidgin-carbons-${version}";
|
|
|
|
version = "0.1.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gkdr";
|
|
|
|
repo = "carbons";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "05hcqvsirb7gnpfcszsrgal5q7dajl2wdi2dy7c41zgl377syavw";
|
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2017-08-01 21:03:30 +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;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
};
|
|
|
|
}
|