Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 630 B view raw
1{ lib, buildDunePackage, fetchurl }: 2 3buildDunePackage rec { 4 minimumOCamlVersion = "4.02.3"; 5 6 pname = "ocaml-syntax-shims"; 7 version = "1.0.0"; 8 9 src = fetchurl { 10 url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz"; 11 sha256 = "1j7848khli4p7j8i2kmnvhdnhcwhy3zgdpf5ds5ic30ax69y3cl9"; 12 }; 13 14 useDune2 = true; 15 16 doCheck = true; 17 18 meta = with lib; { 19 homepage = "https://github.com/ocaml-ppx/ocaml-syntax-shims"; 20 description = "Backport new syntax to older OCaml versions"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ sternenseemann ]; 23 }; 24}