about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-12-29 15:19:05 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-12-29 15:19:05 +0100
commita1822087e617cbfbb4461ca3c3a857d577ccce79 (patch)
treef15cd95fe329ce533714bd64bd10742de4fed3a4 /pkgs/development/ocaml-modules
parent837b2abb2b2a35d2aefa003c24dac4d03ca89d40 (diff)
downloadnixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar.gz
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar.bz2
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar.lz
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar.xz
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.tar.zst
nixlib-a1822087e617cbfbb4461ca3c3a857d577ccce79.zip
Adds ocaml-ojquery-0.1
jQuery Binding for Eliom

Homepage: http://ocsigen.org/ojquery/
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/ojquery/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ojquery/default.nix b/pkgs/development/ocaml-modules/ojquery/default.nix
new file mode 100644
index 000000000000..c048f62e89ca
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ojquery/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchgit, ocaml, findlib, js_of_ocaml, camlp4 }:
+
+stdenv.mkDerivation rec {
+  version = "0.1";
+  name = "ocaml-ojquery-${version}";
+  src = fetchgit {
+    url = https://github.com/ocsigen/ojquery.git;
+    rev = "refs/tags/${version}";
+    sha256 = "1x3cidxxjyw0g7afvczdy6chw3nxb0dcz2psgxchqgv34dcwf0l0";
+  };
+
+  buildInputs = [ ocaml findlib ];
+  propagatedBuildInputs = [ js_of_ocaml camlp4 ];
+
+  createFindlibDestdir = true;
+
+  meta = {
+    description = "jQuery Binding for Eliom";
+    homepage = http://ocsigen.org/ojquery/;
+    license = stdenv.lib.licenses.lgpl3;
+    platforms = ocaml.meta.platforms;
+    maintainers = with stdenv.lib.maintainers; [ vbgl ];
+  };
+}