ocamlPackages.ocaml_pcre: cleanup
This commit is contained in:
parent
d9debbeacf
commit
d0cfb273f0
@ -1,21 +1,19 @@
|
|||||||
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
|
{ stdenv, fetchurl, pcre, ocaml, findlib, ocamlbuild }:
|
||||||
|
|
||||||
buildOcaml {
|
stdenv.mkDerivation rec {
|
||||||
name = "pcre";
|
name = "ocaml${ocaml.version}-pcre-${version}";
|
||||||
version = "7.2.3";
|
version = "7.2.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mmottl/pcre-ocaml/releases/download/v7.2.3/pcre-ocaml-7.2.3.tar.gz";
|
url = "https://github.com/mmottl/pcre-ocaml/releases/download/v${version}/pcre-ocaml-${version}.tar.gz";
|
||||||
sha256 = "0rj6dw79px4sj2kq0iss2nzq3rnsn9wivvc0f44wa1mppr6njfb3";
|
sha256 = "0rj6dw79px4sj2kq0iss2nzq3rnsn9wivvc0f44wa1mppr6njfb3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ocaml findlib];
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
propagatedBuildInputs = [pcre];
|
propagatedBuildInputs = [pcre];
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user