2004-04-06 19:47:34 +02:00
|
|
|
{stdenv, fetchurl, wxGTK, chmlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-06-24 12:26:52 +02:00
|
|
|
name = "xchm-1.9";
|
2004-04-06 19:47:34 +02:00
|
|
|
src = fetchurl {
|
2008-03-16 09:01:31 +01:00
|
|
|
url = mirror://sourceforge/xchm/xchm-1.14.tar.gz;
|
|
|
|
sha256 = "0gx8h8iabfrawx86f3im36favwl18afwx6z7w9gkjamihcm1an1w";
|
2004-04-06 19:47:34 +02:00
|
|
|
};
|
|
|
|
buildInputs = [wxGTK chmlib];
|
2006-10-12 12:53:16 +02:00
|
|
|
|
2009-05-10 08:24:44 +02:00
|
|
|
postConfigure = ''
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS $(${wxGTK}/lib/wx/config/* --libs | sed -e s@-pthread@@)"
|
|
|
|
echo $NIX_LDFLAGS
|
|
|
|
'';
|
|
|
|
|
2006-10-12 12:53:16 +02:00
|
|
|
meta = {
|
|
|
|
description = "A viewer for Microsoft HTML Help files";
|
2008-01-30 20:49:42 +01:00
|
|
|
homepage = http://xchm.sourceforge.net;
|
2006-10-12 12:53:16 +02:00
|
|
|
};
|
2004-04-06 19:47:34 +02:00
|
|
|
}
|