1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/applications/misc/xchm/default.nix

22 lines
571 B
Nix
Raw Normal View History

{stdenv, fetchurl, wxGTK, chmlib}:
stdenv.mkDerivation {
2013-12-20 23:03:23 +00:00
name = "xchm-1.23";
src = fetchurl {
2013-12-20 23:03:23 +00:00
url = mirror://sourceforge/xchm/xchm-1.23.tar.gz;
sha256 = "0qn0fyxcrn30ndq2asx31k0qkx3grbm16fb1y580wd2gjmh5r3wg";
};
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;
platforms = stdenv.lib.platforms.linux;
};
}