Files
Vincent Laporte 1ed3b4e4a9 ocaml-ng.ocamlPackages_4_14.ocaml: 4.14.2 → 4.14.3
ocaml-ng.ocamlPackages_4_14.earlybird: mark as broken
ocaml-ng.ocamlPackages_4_14.js_of_ocaml-compiler: mark broken versions 5
2026-02-18 21:15:07 +01:00

31 lines
686 B
Nix

{
buildDunePackage,
ocaml,
lib,
fetchurl,
}:
buildDunePackage rec {
pname = "stdcompat";
version = "21.1";
minimalOCamlVersion = "4.11";
src = fetchurl {
url = "https://github.com/ocamllibs/stdcompat/archive/refs/tags/${version}.tar.gz";
sha256 = "sha256-RSJ9AgUEmt23QZCk60ETIXmkJhG7knQe+s8wNxxIHm4=";
};
patches = [ ./ocaml-4_14_3.patch ];
# Otherwise ./configure script will run and create files conflicting with dune.
dontConfigure = true;
meta = {
homepage = "https://github.com/ocamllibs/stdcompat";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
broken = lib.versionAtLeast ocaml.version "5.4";
};
}