diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-01-12 10:15:13 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-01-13 11:14:28 +0100 |
commit | 7169b87664d5c07e5867ecb48dc680d2ed5370a3 (patch) | |
tree | 20679d206d2f228adb6c8f25196f2c0c57d29527 /pkgs/development/ocaml-modules | |
parent | 81b57bb8ef757b3acf8316236eae9c9584d458c5 (diff) | |
download | nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar.gz nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar.bz2 nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar.lz nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar.xz nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.tar.zst nixlib-7169b87664d5c07e5867ecb48dc680d2ed5370a3.zip |
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/
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix | 23 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/lablgtk-extras/default.nix | 24 |
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix b/pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix new file mode 100644 index 000000000000..fbe9898fd81e --- /dev/null +++ b/pkgs/development/ocaml-modules/lablgtk-extras/1.4.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, ocaml, findlib, camlp4, config-file, lablgtk, xmlm }: + +stdenv.mkDerivation { + name = "ocaml-lablgtk-extras-1.4"; + src = fetchurl { + url = http://forge.ocamlcore.org/frs/download.php/1282/lablgtkextras-1.4.tar.gz; + sha256 = "09fqxwdib7r9yxynknc9gv3jw2hnhj5cak7q5jngk6m8rzvmhfcc"; + }; + + 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; + branch = "1.4"; + }; +} diff --git a/pkgs/development/ocaml-modules/lablgtk-extras/default.nix b/pkgs/development/ocaml-modules/lablgtk-extras/default.nix new file mode 100644 index 000000000000..80e5a72abf52 --- /dev/null +++ b/pkgs/development/ocaml-modules/lablgtk-extras/default.nix @@ -0,0 +1,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; + }; +} |