nixpkgs/pkgs/development/ocaml-modules/ojquery/default.nix
2016-06-03 17:17:08 +03:00

24 lines
688 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 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1";
};
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 or [];
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}