depot/third_party/nixpkgs/pkgs/development/ocaml-modules/stdlib-shims/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

19 lines
664 B
Nix

{ buildDunePackage, lib, fetchurl, ocaml }:
buildDunePackage rec {
pname = "stdlib-shims";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
};
useDune2 = lib.versionAtLeast ocaml.version "4.08";
minimumOCamlVersion = "4.02";
doCheck = true;
meta = {
description = "Shims for forward-compatibility between versions of the OCaml standard library";
homepage = "https://github.com/ocaml/stdlib-shims";
inherit (ocaml.meta) license;
maintainers = [ lib.maintainers.vbgl ];
};
}