Hevea is an interpreter for (La)TeX that produces HTML.

It is written in OCaml.


svn path=/nixpkgs/trunk/; revision=1189
This commit is contained in:
Eelco Visser 2004-07-28 10:49:55 +00:00
parent 4e0ab72b67
commit e5ee911e2e
4 changed files with 8 additions and 6 deletions

View File

@ -117,9 +117,9 @@ rec {
inherit (xlibs) libXaw; inherit (xlibs) libXaw;
}; };
##hevea = (import ../tools/typesetting/hevea) { hevea = (import ../tools/typesetting/hevea) {
## inherit fetchurl stdenv ocaml; inherit fetchurl stdenv ocaml;
##}; };
### SHELLS ### SHELLS

View File

@ -58,7 +58,7 @@ let {
uml uml
nix nix
ocaml ocaml
# hevea hevea
;}; ;};

View File

@ -1,5 +1,7 @@
. $stdenv/setup || exit 1 . $stdenv/setup || exit 1
mkdir -p $out/bin $out/lib
tar xvfz $src || exit 1 tar xvfz $src || exit 1
cd hevea-* || exit 1 cd hevea-* || exit 1
sed s+/usr/local+$out+ Makefile > Makefile.new || exit 1 sed s+/usr/local+$out+ Makefile > Makefile.new || exit 1

View File

@ -1,9 +1,9 @@
{stdenv, fetchurl, ocaml}: stdenv.mkDerivation { {stdenv, fetchurl, ocaml}: stdenv.mkDerivation {
name = "gnupatch-2.5.4"; name = "hevea-1.07";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz; url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz;
md5 = "561d7a2c10ea9e6a5b352c24d9b65998"; md5 = "561d7a2c10ea9e6a5b352c24d9b65998";
}; };
buildInputs = [ocaml] buildInputs = [ocaml];
} }