2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchzip, buildDunePackage, ounit, seq }:
|
2018-06-24 10:20:13 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "re";
|
2018-09-05 18:14:47 +01:00
|
|
|
version = "1.8.0";
|
2015-01-07 12:56:38 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2015-03-19 18:13:39 +00:00
|
|
|
src = fetchzip {
|
2017-10-17 13:52:22 +01:00
|
|
|
url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
|
2018-09-05 18:14:47 +01:00
|
|
|
sha256 = "0ch6hvmm4ym3w2vghjxf3ka5j1023a37980fqi4zcb7sx756z20i";
|
2015-01-07 12:56:38 +00:00
|
|
|
};
|
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildInputs = [ ounit ];
|
2018-09-05 18:14:47 +01:00
|
|
|
propagatedBuildInputs = [ seq ];
|
2018-06-24 10:20:13 +01:00
|
|
|
doCheck = true;
|
2015-01-07 12:56:38 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/ocaml/ocaml-re;
|
|
|
|
description = "Pure OCaml regular expressions, with support for Perl and POSIX-style strings";
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|