summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/batteries/default.nix
blob: ac7b8adfd8ca5ec45b45de9ff1bfb3b1251608e2 (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
25
26
27
28
29
30
31
{stdenv, fetchurl, ocaml, findlib, camomile, ounit}:

stdenv.mkDerivation {
  name = "ocaml-batteries-2.2.0";

  src = fetchurl {
    url = http://forge.ocamlcore.org/frs/download.php/1363/batteries-2.2.tar.gz;
    sha256 = "0z4wg357fzz7cnarjsrrdnpmxw8mxcj10fp67dm3bnn0l3zkjwbs";
  };

  buildInputs = [ocaml findlib camomile ounit];

  configurePhase = "true"; 	# Skip configure

  createFindlibDestdir = true;

  meta = {
    homepage = http://batteries.forge.ocamlcore.org/;
    description = "OCaml Batteries Included";
    longDescription = ''
      A community-driven effort to standardize on an consistent, documented,
      and comprehensive development platform for the OCaml programming
      language.
    '';
    license = stdenv.lib.licenses.lgpl21;
    platforms = ocaml.meta.platforms;
    maintainers = [
      stdenv.lib.maintainers.z77z
    ];
  };
}