nixpkgs/pkgs/development/ocaml-modules/ojquery/default.nix
Vincent Laporte 935e991b72 js_of_ocaml: 2.8.4 -> 3.0.0
js_of_ocaml-camlp4: init at 3.0.0

js_of_ocaml-ppx: init at 3.0.0
2017-08-27 14:55:12 +00:00

25 lines
786 B
Nix

{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, js_of_ocaml, js_of_ocaml-camlp4, camlp4, lwt3, ocaml_react }:
stdenv.mkDerivation rec {
version = "0.1";
name = "ocaml-ojquery-${version}";
src = fetchgit {
url = https://github.com/ocsigen/ojquery.git;
rev = "refs/tags/${version}";
sha256 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1";
};
buildInputs = [ ocaml findlib ocamlbuild js_of_ocaml-camlp4 camlp4 ];
propagatedBuildInputs = [ js_of_ocaml lwt3 ocaml_react ];
createFindlibDestdir = true;
meta = {
description = "jQuery Binding for Eliom";
homepage = http://ocsigen.org/ojquery/;
license = stdenv.lib.licenses.lgpl3;
platforms = ocaml.meta.platforms or [];
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}