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