about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/rope/default.nix
blob: a62c321a4e83ec915b52bd81a70e01e82bce4b19 (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
24
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, benchmark }:

let version = "0.5"; in

stdenv.mkDerivation {
  name = "ocaml${ocaml.version}-rope-${version}";

  src = fetchzip {
    url = "https://forge.ocamlcore.org/frs/download.php/1156/rope-${version}.tar.gz";
    sha256 = "1i8kzg19jrapl30mq8m91vy09z0r0dl4bnpw24ga96w8pxqf9qhd";
  };

  buildInputs = [ ocaml findlib ocamlbuild benchmark ];

  createFindlibDestdir = true;

  meta = {
    homepage = http://rope.forge.ocamlcore.org/;
    platforms = ocaml.meta.platforms or [];
    description = ''Ropes ("heavyweight strings") in OCaml'';
    license = stdenv.lib.licenses.lgpl21;
    maintainers = with stdenv.lib.maintainers; [ volth ];
  };
}