ocaml-pcre: use buildOcaml
This commit is contained in:
parent
a413b8fde1
commit
93fc00b157
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
||||||
{stdenv, fetchurl, pcre, ocaml, findlib}:
|
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
buildOcaml {
|
||||||
name = "ocaml-pcre-7.1.1";
|
name = "ocaml-pcre";
|
||||||
|
version = "7.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://github.com/mmottl/pcre-ocaml/releases/download/v7.1.1/pcre-ocaml-7.1.1.tar.gz;
|
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;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
hasSharedObjects = true;
|
||||||
|
|
||||||
configurePhase = "true"; # Skip configure phase
|
configurePhase = "true"; # Skip configure phase
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue