- 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:
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]
|
||||
}
|
||||
Reference in New Issue
Block a user