@@ -0,0 +1,24 @@
1+{ stdenv, fetchgit, ocaml, findlib, js_of_ocaml, camlp4 }:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.1";
5+ name = "ocaml-ojquery-${version}";
6+ src = fetchgit {
7+ url = https://github.com/ocsigen/ojquery.git;
8+ rev = "refs/tags/${version}";
9+ sha256 = "1x3cidxxjyw0g7afvczdy6chw3nxb0dcz2psgxchqgv34dcwf0l0";
10+ };
11+
12+ buildInputs = [ ocaml findlib ];
13+ propagatedBuildInputs = [ js_of_ocaml camlp4 ];
14+
15+ createFindlibDestdir = true;
16+
17+ meta = {
18+ description = "jQuery Binding for Eliom";
19+ homepage = http://ocsigen.org/ojquery/;
20+ license = stdenv.lib.licenses.lgpl3;
21+ platforms = ocaml.meta.platforms;
22+ maintainers = with stdenv.lib.maintainers; [ vbgl ];
23+ };
24+}