2019-02-23 16:11:26 +01:00
|
|
|
{ buildDunePackage, lib, fetchurl, ocaml }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "stdlib-shims";
|
2021-02-26 07:13:27 +01:00
|
|
|
version = "0.3.0";
|
2019-02-23 16:11:26 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
2021-02-26 07:13:27 +01:00
|
|
|
sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
|
2019-02-23 16:11:26 +01:00
|
|
|
};
|
2021-02-26 07:13:27 +01:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
2019-02-23 16:11:26 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|