Commit d68ce45f authored by Infinidoge's avatar Infinidoge Committed by Vincent Laporte
Browse files

ocamlPackages.tyre: init at 0.5

parent 6861b01f
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };