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

26 lines
751 B
Nix
Raw Normal View History

{stdenv, fetchurl, pcre, ocaml, findlib}:
stdenv.mkDerivation {
2014-04-22 02:31:27 +04:00
name = "ocaml-pcre-7.0.4";
src = fetchurl {
2014-04-22 02:31:27 +04:00
url = https://bitbucket.org/mmottl/pcre-ocaml/downloads/pcre-ocaml-7.0.4.tar.gz;
sha256 = "0h2qlza7jkzgrglw1k0fydpbil0dgpv526kxyyd1apdbyzhb0mpw";
};
buildInputs = [ocaml findlib];
propagatedBuildInputs = [pcre];
createFindlibDestdir = true;
configurePhase = "true"; # Skip configure phase
2014-04-22 02:31:27 +04: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 02:31:27 +04:00
license = licenses.lgpl21;
platforms = ocaml.meta.platforms;
2014-04-22 02:31:27 +04:00
maintainers = with maintainers; [ z77z vbmithr ];
};
}