2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pidgin, texLive, imagemagick, glib, gtk2 }:
|
2014-11-02 02:19:39 +01:00
|
|
|
|
|
|
|
let version = "1.5.0";
|
|
|
|
in
|
2007-07-07 21:22:28 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "pidgin-latex";
|
|
|
|
inherit 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];
|
2016-09-11 23:24:51 +02:00
|
|
|
buildInputs = [gtk2 glib pidgin];
|
2019-10-27 14:03:25 +01:00
|
|
|
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; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/pidgin-latex/";
|
2014-11-02 02:19:39 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|