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