Merge pull request #12186 from FlorentBecker/pcre_buildOcaml

ocaml-pcre: use buildOcaml
This commit is contained in:
vbgl 2016-01-10 11:37:45 +01:00
commit 81996579a9

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