mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
38d6fbd9e4
svn path=/nixpkgs/trunk/; revision=15522
20 lines
526 B
Nix
20 lines
526 B
Nix
{stdenv, fetchurl, wxGTK, chmlib}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "xchm-1.9";
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/xchm/xchm-1.14.tar.gz;
|
|
sha256 = "0gx8h8iabfrawx86f3im36favwl18afwx6z7w9gkjamihcm1an1w";
|
|
};
|
|
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;
|
|
};
|
|
}
|