nixpkgs/pkgs/development/ocaml-modules/ojquery/default.nix
Vincent Laporte a1822087e6 Adds ocaml-ojquery-0.1
jQuery Binding for Eliom

Homepage: http://ocsigen.org/ojquery/
2014-12-29 15:19:05 +01:00

25 lines
682 B
Nix

{ 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 ];
};
}