mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
31 lines
684 B
Nix
31 lines
684 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";
|
|
hash = "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";
|
|
};
|
|
}
|