* Added xchm, a Windows help viewer for X.

svn path=/nixpkgs/trunk/; revision=923
This commit is contained in:
Eelco Dolstra 2004-04-06 17:47:34 +00:00
parent 381c8b926a
commit 32e4b9928d
6 changed files with 50 additions and 0 deletions

View File

@ -10,3 +10,7 @@
* After building gcc, filter out references to /tmp/nix... in
.../lib/libsupc++.la and .../lib/libstdc++.la
* diffutils retains a dependency on coreutils/bin/pr; causes stdenv to
depend on 2 copies of coreutils (the first one impure in
stdenv-nix-linux!)

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl, wxGTK, chmlib}:
stdenv.mkDerivation {
name = "xchm-0.9.1";
src = fetchurl {
url = http://belnet.dl.sourceforge.net/sourceforge/xchm/xchm-0.9.1.tar.gz;
md5 = "5ba671e09e4c3ac46ffb5ce9d2c985eb";
};
buildInputs = [wxGTK chmlib];
}

View File

@ -0,0 +1,16 @@
. $stdenv/setup
unpackCmd="tar xvfj $src"
makeFlags="CC=gcc LD=gcc INSTALLPREFIX=$out"
preInstall() {
mkdir $out
mkdir $out/lib
mkdir $out/include
}
preInstall=preInstall
installFlags=$makeFlags
genericBuild

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, libtool}:
stdenv.mkDerivation {
name = "chmlib-0.31";
builder = ./builder.sh;
src = fetchurl {
url = http://66.93.236.84/~jedwin/projects/chmlib/chmlib-0.31.tbz;
md5 = "c6c9e1658f43715456e00a4893d496ed";
};
buildInputs = [libtool];
}

View File

@ -459,6 +459,10 @@ rec {
inherit fetchurl stdenv pkgconfig freetype expat;
};
chmlib = (import ../development/libraries/chmlib) {
inherit fetchurl stdenv libtool;
};
perlBerkeleyDB = (import ../development/perl-modules/BerkeleyDB) {
inherit fetchurl stdenv perl db4;
};
@ -591,6 +595,10 @@ rec {
inherit fetchurl stdenv perl;
};
xchm = (import ../applications/misc/xchm) {
inherit fetchurl stdenv wxGTK chmlib;
};
nxml = (import ../applications/editors/emacs/modes/nxml) {
inherit fetchurl stdenv;
};

View File

@ -48,6 +48,7 @@ let {
pkgs.zapping
pkgs.gqview
pkgs.hello
pkgs.xchm
pkgs.nxml
pkgs.uml
pkgs.nix