* Added xchm, a Windows help viewer for X.
svn path=/nixpkgs/trunk/; revision=923
This commit is contained in:
parent
381c8b926a
commit
32e4b9928d
|
@ -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!)
|
||||
|
|
10
pkgs/applications/misc/xchm/default.nix
Normal file
10
pkgs/applications/misc/xchm/default.nix
Normal 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];
|
||||
}
|
16
pkgs/development/libraries/chmlib/builder.sh
Normal file
16
pkgs/development/libraries/chmlib/builder.sh
Normal 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
|
11
pkgs/development/libraries/chmlib/default.nix
Normal file
11
pkgs/development/libraries/chmlib/default.nix
Normal 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];
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -48,6 +48,7 @@ let {
|
|||
pkgs.zapping
|
||||
pkgs.gqview
|
||||
pkgs.hello
|
||||
pkgs.xchm
|
||||
pkgs.nxml
|
||||
pkgs.uml
|
||||
pkgs.nix
|
||||
|
|
Loading…
Reference in a new issue