mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
ocamlPackages.ocaml-recovery-parser: use Dune 3
And disable for OCaml ≥ 5.0
This commit is contained in:
parent
97ea0e7236
commit
689c7010de
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, ocaml
|
||||
, buildDunePackage
|
||||
, fix
|
||||
, menhirLib
|
||||
@ -7,12 +8,15 @@
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
|
||||
"ocaml-recovery-parser is not available for OCaml ${ocaml.version}"
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ocaml-recovery-parser";
|
||||
version = "0.2.4";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "serokell";
|
||||
|
Loading…
Reference in New Issue
Block a user