2017-10-05 06:57:03 +01:00
|
|
|
{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, js_of_ocaml, js_of_ocaml-camlp4, camlp4, lwt3, react }:
|
2014-12-29 14:19:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.1";
|
|
|
|
name = "ocaml-ojquery-${version}";
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/ocsigen/ojquery.git;
|
|
|
|
rev = "refs/tags/${version}";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1";
|
2014-12-29 14:19:05 +00:00
|
|
|
};
|
|
|
|
|
2017-08-27 15:44:39 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild js_of_ocaml-camlp4 camlp4 ];
|
2017-10-05 06:57:03 +01:00
|
|
|
propagatedBuildInputs = [ js_of_ocaml lwt3 react ];
|
2014-12-29 14:19:05 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "jQuery Binding for Eliom";
|
|
|
|
homepage = http://ocsigen.org/ojquery/;
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-12-29 14:19:05 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|