about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/typesetting/hevea/default.nix
blob: 8253d73e3dbb3f6fb5d30d05e543474ddc42b515 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl, ocamlPackages }:

stdenv.mkDerivation rec {
  pname = "hevea";
  version = "2.35";

  src = fetchurl {
    url = "https://pauillac.inria.fr/~maranget/hevea/distri/hevea-${version}.tar.gz";
    sha256 = "sha256-8Ym62l0+WzWFXf39tbJwyZT8eiNmsBJQ12E1mtZsnss=";
  };

  buildInputs = with ocamlPackages; [ ocaml ocamlbuild ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "A quite complete and fast LATEX to HTML translator";
    homepage = "http://pauillac.inria.fr/~maranget/hevea/";
    license = licenses.qpl;
    maintainers = with maintainers; [ pSub ];
    platforms = with platforms; unix;
  };
}