* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
{stdenv, fetchurl, pcre, ocaml, findlib}:
|
|
|
|
|
|
|
|
let
|
|
|
|
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
|
|
|
version = "6.1.0";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ocaml-pcre-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://hg.ocaml.info/release/pcre-ocaml/archive/" +
|
|
|
|
"release-${version}.tar.bz2";
|
|
|
|
sha256 = "1lj9mzabi1crxwvb2ly1l10h4hlx0fw20nbnq76bbzzkzabjs4ll";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pcre ocaml findlib];
|
|
|
|
|
2010-12-21 10:37:35 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
configurePhase = "true"; # Skip configure phase
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.ocaml.info/home/ocaml_sources.html#pcre-ocaml";
|
|
|
|
description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
|
|
|
|
license = "LGPL";
|
* Enable hydra build for ocaml-batteries, camlzip, camomile, ocaml-cryptgps, cryptokit, ocaml-lwt, menhir, ounit, ocaml-pcre, ocaml-react, ocaml-ssl
svn path=/nixpkgs/trunk/; revision=25064
2010-12-11 15:50:45 +01:00
|
|
|
platforms = ocaml.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 16:40:04 +01:00
|
|
|
};
|
|
|
|
}
|