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