2014-11-02 02:19:39 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pidgin, texLive, imagemagick, glib, gtk }:
|
|
|
|
|
|
|
|
let version = "1.5.0";
|
|
|
|
in
|
2007-07-07 21:22:28 +02:00
|
|
|
stdenv.mkDerivation {
|
2014-11-02 02:19:39 +01:00
|
|
|
name = "pidgin-latex-${version}";
|
2007-07-07 21:22:28 +02:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
src = fetchurl {
|
2014-11-02 02:19:39 +01:00
|
|
|
url = "mirror://sourceforge/pidgin-latex/pidgin-latex_${version}.tar.bz2";
|
|
|
|
sha256 = "9c850aee90d7e59de834f83e09fa6e3e51b123f06e265ead70957608ada95441";
|
2009-03-03 14:27:40 +01:00
|
|
|
};
|
2007-07-07 21:22:28 +02:00
|
|
|
|
2014-11-02 02:19:39 +01:00
|
|
|
nativeBuildInputs = [pkgconfig];
|
|
|
|
buildInputs = [gtk glib pidgin];
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
2007-07-07 21:22:28 +02:00
|
|
|
|
2014-11-02 02:19:39 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -e 's/-Wl,-soname//' -i Makefile
|
2009-03-03 14:27:40 +01:00
|
|
|
'';
|
2007-07-07 21:22:28 +02:00
|
|
|
|
2014-11-02 02:19:39 +01:00
|
|
|
passthru = {
|
2016-08-23 00:06:51 +02:00
|
|
|
wrapArgs = "--prefix PATH ':' ${stdenv.lib.makeBinPath [ texLive imagemagick ]}";
|
2014-11-02 02:19:39 +01:00
|
|
|
};
|
2007-07-07 21:22:28 +02:00
|
|
|
|
2014-11-02 02:19:39 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://sourceforge.net/projects/pidgin-latex/;
|
|
|
|
description = "LaTeX rendering plugin for Pidgin IM";
|
2015-04-21 18:05:19 +02:00
|
|
|
license = licenses.gpl2;
|
2014-11-02 02:19:39 +01:00
|
|
|
platforms = platforms.linux;
|
2015-05-14 19:09:10 +02:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2007-07-07 21:22:28 +02:00
|
|
|
};
|
|
|
|
}
|