mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
ocamlPackages.tyre: init at 0.5
This commit is contained in:
parent
6861b01f70
commit
d68ce45fa1
2 changed files with 43 additions and 0 deletions
41
pkgs/development/ocaml-modules/tyre/default.nix
Normal file
41
pkgs/development/ocaml-modules/tyre/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2076,6 +2076,8 @@ let
|
||||||
|
|
||||||
type_id = callPackage ../development/ocaml-modules/type_id { };
|
type_id = callPackage ../development/ocaml-modules/type_id { };
|
||||||
|
|
||||||
|
tyre = callPackage ../development/ocaml-modules/tyre { };
|
||||||
|
|
||||||
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
||||||
|
|
||||||
tyxml-lwd = callPackage ../development/ocaml-modules/lwd/tyxml-lwd.nix { };
|
tyxml-lwd = callPackage ../development/ocaml-modules/lwd/tyxml-lwd.nix { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue