3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ocaml_pcre: cleanup

This commit is contained in:
Vincent Laporte 2018-05-09 06:41:45 +00:00
parent d9debbeacf
commit d0cfb273f0
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,21 +1,19 @@
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
{ stdenv, fetchurl, pcre, ocaml, findlib, ocamlbuild }:
buildOcaml {
name = "pcre";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-pcre-${version}";
version = "7.2.3";
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";
};
buildInputs = [ocaml findlib];
buildInputs = [ ocaml findlib ocamlbuild ];
propagatedBuildInputs = [pcre];
createFindlibDestdir = true;
hasSharedObjects = true;
configurePhase = "true"; # Skip configure phase
meta = with stdenv.lib; {