2021-01-11 12:49:15 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
2015-01-12 09:15:13 +00:00
|
|
|
|
2021-01-11 12:49:15 +00:00
|
|
|
assert lib.versionAtLeast (lib.getVersion ocaml) "4.02";
|
2015-01-12 09:15:13 +00:00
|
|
|
|
2017-10-07 06:29:59 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.6";
|
|
|
|
name = "ocaml${ocaml.version}-lablgtk-extras-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zoggy";
|
|
|
|
repo = "lablgtk-extras";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1bbdp5j18s582mmyd7qiaq1p08g2ag4gl7x65pmzahbhg719hjda";
|
2015-01-12 09:15:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml findlib camlp4 ];
|
|
|
|
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2021-01-11 12:49:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gtk-extras.forge.ocamlcore.org/";
|
2015-01-12 09:15:13 +00:00
|
|
|
description = "A collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2015-01-12 09:15:13 +00:00
|
|
|
};
|
|
|
|
}
|