ocamlPackages.tyre: init at 0.5

This commit is contained in:
Infinidoge 2025-05-21 18:03:28 -04:00 committed by Vincent Laporte
parent 6861b01f70
commit d68ce45fa1
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{
lib,
buildDunePackage,
fetchurl,
re,
result,
seq,
alcotest,
}:
buildDunePackage rec {
pname = "tyre";
version = "0.5";
minimalOCamlVersion = "4.03.0";
src = fetchurl {
url = "https://github.com/Drup/tyre/releases/download/${version}/${pname}-${version}.tbz";
hash = "sha256-eqB/racqpxu5hVlC4Os+4AfDOeYj4UXF3S/4Ckkem2k=";
};
propagatedBuildInputs = [
re
result
seq
];
checkInputs = [
alcotest
];
doCheck = true;
meta = {
description = "Typed Regular Expressions";
homepage = "https://github.com/Drup/tyre";
changelog = "https://github.com/Drup/tyre/blob/${version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ infinidoge ];
};
}

View file

@ -2076,6 +2076,8 @@ let
type_id = callPackage ../development/ocaml-modules/type_id { };
tyre = callPackage ../development/ocaml-modules/tyre { };
tyxml = callPackage ../development/ocaml-modules/tyxml { };
tyxml-lwd = callPackage ../development/ocaml-modules/lwd/tyxml-lwd.nix { };