git.iko.soy/typeable/nixpkgs
on master help sign in
hevea: update from 1.07 to 2.23

add meta-information and adopt it

commite0cc3efca250100bb7d821c4c564ec13f8a82921 authorPascal Wittmann <mail@pascal-wittmann.de> dateSun 31 May 2015, 16:07 (12 years ago) parenta351611
2 files changed+20−20
pkgs/tools/typesetting/hevea/builder.sh−14 pkgs/tools/typesetting/hevea/default.nix+20−6
pkgs/tools/typesetting/hevea/builder.shdeleted−14
@@ -1,14 +0,0 @@
1−set -e
2−
3−source $stdenv/setup
4−
5−mkdir -p $out/bin $out/lib
6−
7−tar xvfz $src
8−cd hevea-*
9−
10−sed s+/usr/local+$out+ Makefile > Makefile.new
11−mv Makefile.new Makefile
12−
13−make
14−make install
pkgs/tools/typesetting/hevea/default.nix+20−6
@@ -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}