2004-04-06 17:47:34 +00:00
|
|
|
{stdenv, fetchurl, wxGTK, chmlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-11-09 11:55:31 +00:00
|
|
|
name = "xchm-1.17";
|
2004-04-06 17:47:34 +00:00
|
|
|
src = fetchurl {
|
2009-11-09 11:55:31 +00:00
|
|
|
url = mirror://sourceforge/xchm/xchm-1.17.tar.gz;
|
|
|
|
sha256 = "0yizisn4833nnpd4apallyg8iv334y00hv3awbsbc0ks2zf93x0n";
|
2004-04-06 17:47:34 +00:00
|
|
|
};
|
|
|
|
buildInputs = [wxGTK chmlib];
|
2006-10-12 10:53:16 +00:00
|
|
|
|
2009-05-10 06:24:44 +00:00
|
|
|
postConfigure = ''
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS $(${wxGTK}/lib/wx/config/* --libs | sed -e s@-pthread@@)"
|
|
|
|
echo $NIX_LDFLAGS
|
|
|
|
'';
|
|
|
|
|
2006-10-12 10:53:16 +00: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 10:53:16 +00:00
|
|
|
};
|
2004-04-06 17:47:34 +00:00
|
|
|
}
|