Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / stdlib-shims / default.nix
blob470a2a5bd030f7faa65677fd8f4b26f1a2912aed
1 { buildDunePackage, lib, fetchurl, ocaml }:
3 buildDunePackage rec {
4   pname = "stdlib-shims";
5   version = "0.3.0";
6   src = fetchurl {
7     url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
8     sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
9   };
10   useDune2 = lib.versionAtLeast ocaml.version "4.08";
11   minimumOCamlVersion = "4.02";
12   doCheck = true;
13   meta = {
14     description = "Shims for forward-compatibility between versions of the OCaml standard library";
15     homepage = "https://github.com/ocaml/stdlib-shims";
16     inherit (ocaml.meta) license;
17     maintainers = [ lib.maintainers.vbgl ];
18   };