1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5}:
6
7buildDunePackage rec {
8 minimumOCamlVersion = "4.02.3";
9
10 pname = "ocaml-syntax-shims";
11 version = "1.0.0";
12
13 src = fetchurl {
14 url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz";
15 sha256 = "1j7848khli4p7j8i2kmnvhdnhcwhy3zgdpf5ds5ic30ax69y3cl9";
16 };
17
18 useDune2 = true;
19
20 doCheck = true;
21
22 meta = with lib; {
23 homepage = "https://github.com/ocaml-ppx/ocaml-syntax-shims";
24 description = "Backport new syntax to older OCaml versions";
25 mainProgram = "ocaml-syntax-shims";
26 license = licenses.mit;
27 maintainers = with maintainers; [ sternenseemann ];
28 };
29}