3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/pcre/default.nix

29 lines
809 B
Nix
Raw Normal View History

2016-01-06 09:38:57 +00:00
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
2016-01-06 09:38:57 +00:00
buildOcaml {
2016-12-18 15:19:15 +00:00
name = "pcre";
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";
sha256 = "0rj6dw79px4sj2kq0iss2nzq3rnsn9wivvc0f44wa1mppr6njfb3";
};
buildInputs = [ocaml findlib];
propagatedBuildInputs = [pcre];
createFindlibDestdir = true;
2016-01-06 09:38:57 +00:00
hasSharedObjects = true;
configurePhase = "true"; # Skip configure phase
2014-04-21 23:31:27 +01:00
meta = with stdenv.lib; {
homepage = https://bitbucket.org/mmottl/pcre-ocaml;
description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
2014-04-21 23:31:27 +01:00
license = licenses.lgpl21;
platforms = ocaml.meta.platforms or [];
2014-04-21 23:31:27 +01:00
maintainers = with maintainers; [ z77z vbmithr ];
};
}