nixpkgs-suyu/pkgs/development/ocaml-modules/lablgtk-extras/default.nix
Vincent Laporte 7169b87664 Adds ocaml-lablgtk-extras
Lablgtk-extras is a collection of libraries and modules useful when
developing OCaml/LablGtk2 applications.

Homepage: http://gtk-extras.forge.ocamlcore.org/
2015-01-13 11:14:28 +01:00

24 lines
840 B
Nix

{ 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;
};
}