nixpkgs-suyu/pkgs/development/ocaml-modules/pcre/default.nix

29 lines
809 B
Nix
Raw Normal View History

2016-01-06 10:38:57 +01:00
{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
2016-01-06 10:38:57 +01:00
buildOcaml {
name = "ocaml-pcre";
version = "7.1.1";
src = fetchurl {
2014-07-17 14:19:27 +02:00
url = https://github.com/mmottl/pcre-ocaml/releases/download/v7.1.1/pcre-ocaml-7.1.1.tar.gz;
sha256 = "0nj4gb6hjjjmz5gnl9cjrh4w82rw8cvbwnk0hxhfgfd25p9k50n3";
};
buildInputs = [ocaml findlib];
propagatedBuildInputs = [pcre];
createFindlibDestdir = true;
2016-01-06 10:38:57 +01:00
hasSharedObjects = true;
configurePhase = "true"; # Skip configure phase
2014-04-22 00:31:27 +02: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-22 00:31:27 +02:00
license = licenses.lgpl21;
platforms = ocaml.meta.platforms;
2014-04-22 00:31:27 +02:00
maintainers = with maintainers; [ z77z vbmithr ];
};
}