Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 24 lines 688 B view raw
1{ stdenv, fetchgit, ocaml, findlib, js_of_ocaml, camlp4 }: 2 3stdenv.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 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1"; 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 or []; 22 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 23 }; 24}