2021-01-11 12:49:15 +00:00
|
|
|
{ stdenv, lib, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }:
|
2015-01-12 09:15:13 +00:00
|
|
|
|
2021-11-09 19:42:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ocaml-lablgtk-extras";
|
|
|
|
version = "1.4";
|
|
|
|
|
2015-01-12 09:15:13 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 19:42:54 +00:00
|
|
|
url = "http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-${version}.tar.gz";
|
2015-01-12 09:15:13 +00:00
|
|
|
sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc";
|
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib camlp4 ];
|
2015-01-12 09:15:13 +00:00
|
|
|
propagatedBuildInputs = [ config-file lablgtk xmlm ];
|
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2021-11-09 19:53:19 +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
|
|
|
branch = "1.4";
|
|
|
|
};
|
|
|
|
}
|