forked from mirrors/nixpkgs
- O'Caml compiler for Object CaML
- hevea is an interpreter for latex producing html svn path=/nixpkgs/trunk/; revision=1171
This commit is contained in:
parent
c0b5981c45
commit
be48aa538b
4
pkgs/development/compilers/ocaml/builder.sh
Normal file
4
pkgs/development/compilers/ocaml/builder.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
configureFlags=""
|
||||||
|
genericBuild
|
|
@ -117,6 +117,9 @@ rec {
|
||||||
inherit (xlibs) libXaw;
|
inherit (xlibs) libXaw;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hevea = (import ../tools/typesetting/hevea) {
|
||||||
|
inherit fetchurl stdenv ocaml;
|
||||||
|
};
|
||||||
|
|
||||||
### SHELLS
|
### SHELLS
|
||||||
|
|
||||||
|
@ -245,6 +248,10 @@ rec {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strategoxt = (import ../development/compilers/ocaml) {
|
||||||
|
inherit fetchurl stdenv ;
|
||||||
|
};
|
||||||
|
|
||||||
strategoxt = (import ../development/compilers/strategoxt) {
|
strategoxt = (import ../development/compilers/strategoxt) {
|
||||||
inherit fetchurl stdenv aterm;
|
inherit fetchurl stdenv aterm;
|
||||||
sdf = sdf2_bundle;
|
sdf = sdf2_bundle;
|
||||||
|
|
8
pkgs/tools/typesetting/hevea/builder.sh
Normal file
8
pkgs/tools/typesetting/hevea/builder.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd hevea-* || exit 1
|
||||||
|
sed s+/usr/local+$out+ Makefile > Makefile.new || exit 1
|
||||||
|
mv Makefile.new Makefile
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
9
pkgs/tools/typesetting/hevea/default.nix
Normal file
9
pkgs/tools/typesetting/hevea/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{stdenv, fetchurl, ocaml}: stdenv.mkDerivation {
|
||||||
|
name = "gnupatch-2.5.4";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz;
|
||||||
|
md5 = "561d7a2c10ea9e6a5b352c24d9b65998";
|
||||||
|
};
|
||||||
|
buildInputs = [ocaml]
|
||||||
|
}
|
Loading…
Reference in a new issue