summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/re/default.nix
blob: 2031c469b29ce3e577b2ccd7aecec57d387ab7ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchzip, buildDunePackage, ounit, seq }:

buildDunePackage rec {
  pname = "re";
  version = "1.9.0";

  minimumOCamlVersion = "4.02";

  src = fetchzip {
    url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
    sha256 = "07ycb103mr4mrkxfd63cwlsn023xvcjp0ra0k7n2gwrg0mwxmfss";
  };

  buildInputs = [ ounit ];
  propagatedBuildInputs = [ seq ];
  doCheck = true;

  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 ];
  };
}