summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lablgtk-extras/default.nix
blob: 80e5a72abf52a6fdf4a4709047722e90e4a60ea5 (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, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:

assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02";

stdenv.mkDerivation {
  name = "ocaml-lablgtk-extras-1.5";
  src = fetchurl {
    url = https://forge.ocamlcore.org/frs/download.php/1453/lablgtkextras-1.5.tar.gz;
    sha256 = "1bgflgadmy2nqnqjf34zja0jy6f9wpqq8x22qcfilj9g8c9wkrmi";
  };

  buildInputs = [ ocaml findlib camlp4 ];
  propagatedBuildInputs = [ config-file lablgtk xmlm ];

  createFindlibDestdir = true;

  meta = {
    platforms = ocaml.meta.platforms;
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
    homepage = http://gtk-extras.forge.ocamlcore.org/;
    description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
    license = stdenv.lib.licenses.lgpl2Plus;
  };
}