ocaml-pcre: use buildOcaml
This commit is contained in:
parent
a413b8fde1
commit
93fc00b157
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user