@@ -1,9 +1,23 @@
1−{stdenv, fetchurl, ocaml}: stdenv.mkDerivation {
2− name = "hevea-1.07";
3− builder = ./builder.sh;
1+{ stdenv, fetchurl, ocaml }:
2+
3+stdenv.mkDerivation rec {
4+ name = "hevea-2.23";
5+
46 src = fetchurl {
5− url = http://pauillac.inria.fr/~maranget/hevea/distri/hevea-1.07.tar.gz;
6− md5 = "561d7a2c10ea9e6a5b352c24d9b65998";
7+ url = "http://pauillac.inria.fr/~maranget/hevea/distri/${name}.tar.gz";
8+ sha256 = "1f9pj48518ixhjxbviv2zx27v4anp92zgg3x704g1s5cki2w33nv";
9+ };
10+
11+ buildInputs = [ ocaml ];
12+
13+ configurePhase = ''
14+ export makeFlags="PREFIX=$out";
15+ '';
16+
17+ meta = with stdenv.lib; {
18+ description = "A quite complete and fast LATEX to HTML translator";
19+ homepage = http://pauillac.inria.fr/~maranget/hevea/;
20+ license = licenses.qpl;
21+ maintainers = with maintainers; [ pSub ];
722 };
8− buildInputs = [ocaml];
923}