ocaml-pcre: use buildOcaml

This commit is contained in:
Florent Becker 2016-01-06 10:38:57 +01:00
parent a413b8fde1
commit 93fc00b157

View File

@ -1,7 +1,8 @@
{stdenv, fetchurl, pcre, ocaml, findlib}:
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
stdenv.mkDerivation {
name = "ocaml-pcre-7.1.1";
buildOcaml {
name = "ocaml-pcre";
version = "7.1.1";
src = fetchurl {
url = https://github.com/mmottl/pcre-ocaml/releases/download/v7.1.1/pcre-ocaml-7.1.1.tar.gz;
@ -13,6 +14,8 @@ stdenv.mkDerivation {
createFindlibDestdir = true;
hasSharedObjects = true;
configurePhase = "true"; # Skip configure phase
meta = with stdenv.lib; {