13 if lib.versionOlder ocaml.version "4.02" || lib.versionAtLeast ocaml.version "4.13" then
14 throw "lablgtk-extras is not available for OCaml ${ocaml.version}"
17 stdenv.mkDerivation rec {
19 pname = "ocaml${ocaml.version}-lablgtk-extras";
20 src = fetchFromGitLab {
21 domain = "framagit.org";
23 repo = "lablgtk-extras";
24 rev = "release-${version}";
25 sha256 = "1bbdp5j18s582mmyd7qiaq1p08g2ag4gl7x65pmzahbhg719hjda";
35 propagatedBuildInputs = [
41 createFindlibDestdir = true;
44 inherit (ocaml.meta) platforms;
45 maintainers = with lib.maintainers; [ vbgl ];
46 homepage = "https://framagit.org/zoggy/lablgtk-extras/";
47 description = "Collection of libraries and modules useful when developing OCaml/LablGtk2 applications";
48 license = lib.licenses.lgpl2Plus;