ocamlPackages.brisk-reconciler: unstable-2020-12-02 → 1.0.0-α1

This commit is contained in:
Vincent Laporte 2025-07-17 06:38:26 +02:00 committed by Vincent Laporte
parent 7e940a342a
commit 6680f22c41

View File

@ -4,23 +4,28 @@
lib, lib,
reason, reason,
ppxlib, ppxlib,
ocaml,
}: }:
let
version =
if lib.versionAtLeast ocaml.version "5.3" then
throw "brisk-reconciler is not available for OCaml ${ocaml.version}"
else
"1.0.0-alpha1";
in
buildDunePackage { buildDunePackage {
pname = "brisk-reconciler"; pname = "brisk-reconciler";
version = "unstable-2020-12-02"; inherit version;
duneVersion = "3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "briskml"; owner = "briskml";
repo = "brisk-reconciler"; repo = "brisk-reconciler";
rev = "c9d5c4cf5dd17ff2da994de2c3b0f34c72778f70"; tag = "v${version}";
sha256 = "sha256-AAB4ZzBnwfwFXOAqX/sIT6imOl70F0YNMt96SWOOE9w="; hash = "sha256-Xj6GGsod3lnEEjrzPrlHwQAowq66uz8comlhpWK888k=";
}; };
nativeBuildInputs = [ reason ];
buildInputs = [ buildInputs = [
ppxlib ppxlib
]; ];