1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 re,
6 result,
7 seq,
8 alcotest,
9}:
10
11buildDunePackage rec {
12 pname = "tyre";
13 version = "0.5";
14
15 minimalOCamlVersion = "4.03.0";
16
17 src = fetchurl {
18 url = "https://github.com/Drup/tyre/releases/download/${version}/${pname}-${version}.tbz";
19 hash = "sha256-eqB/racqpxu5hVlC4Os+4AfDOeYj4UXF3S/4Ckkem2k=";
20 };
21
22 propagatedBuildInputs = [
23 re
24 result
25 seq
26 ];
27
28 checkInputs = [
29 alcotest
30 ];
31
32 doCheck = true;
33
34 meta = {
35 description = "Typed Regular Expressions";
36 homepage = "https://github.com/Drup/tyre";
37 changelog = "https://github.com/Drup/tyre/blob/${version}/CHANGES.md";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ infinidoge ];
40 };
41}