depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-syntax-shims/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
640 B
Nix

{ stdenv, buildDunePackage, fetchurl }:
buildDunePackage rec {
minimumOCamlVersion = "4.02.3";
pname = "ocaml-syntax-shims";
version = "1.0.0";
src = fetchurl {
url = "https://github.com/ocaml-ppx/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "1j7848khli4p7j8i2kmnvhdnhcwhy3zgdpf5ds5ic30ax69y3cl9";
};
useDune2 = true;
doCheck = true;
meta = with stdenv.lib; {
homepage = "https://github.com/ocaml-ppx/ocaml-syntax-shims";
description = "Backport new syntax to older OCaml versions";
license = licenses.mit;
maintainers = with maintainers; [ sternenseemann ];
};
}