blob: b574b5fa5ec98bfb0dcc31b448f0492ceb33fc68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{stdenv, fetchurl, wxGTK, chmlib}:
stdenv.mkDerivation {
name = "xchm-1.17";
src = fetchurl {
url = mirror://sourceforge/xchm/xchm-1.17.tar.gz;
sha256 = "0yizisn4833nnpd4apallyg8iv334y00hv3awbsbc0ks2zf93x0n";
};
buildInputs = [wxGTK chmlib];
postConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS $(${wxGTK}/lib/wx/config/* --libs | sed -e s@-pthread@@)"
echo $NIX_LDFLAGS
'';
meta = {
description = "A viewer for Microsoft HTML Help files";
homepage = http://xchm.sourceforge.net;
};
}
|