ocamlPackages.elpi: 1.15.0 → 1.15.2
Co-authored-by: Pierre Roux <pierre.roux@onera.fr>
This commit is contained in:
parent
18aaa33f07
commit
f7373e4932
|
@ -2,14 +2,16 @@
|
||||||
, buildDunePackage, camlp5
|
, buildDunePackage, camlp5
|
||||||
, ocaml
|
, ocaml
|
||||||
, menhir, menhirLib
|
, menhir, menhirLib
|
||||||
|
, stdlib-shims
|
||||||
, re, perl, ncurses
|
, re, perl, ncurses
|
||||||
, ppxlib, ppx_deriving
|
, ppxlib, ppx_deriving
|
||||||
, ppxlib_0_15, ppx_deriving_0_15
|
, ppxlib_0_15, ppx_deriving_0_15
|
||||||
, coqPackages
|
, coqPackages
|
||||||
, version ? if lib.versionAtLeast ocaml.version "4.07" then "1.15.0" else "1.14.1"
|
, version ? if lib.versionAtLeast ocaml.version "4.07" then "1.15.2" else "1.14.1"
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let fetched = coqPackages.metaFetch ({
|
let fetched = coqPackages.metaFetch ({
|
||||||
|
release."1.15.2".sha256 = "sha256-XgopNP83POFbMNyl2D+gY1rmqGg03o++Ngv3zJfCn2s=";
|
||||||
release."1.15.0".sha256 = "sha256:1ngdc41sgyzyz3i3lkzjhnj66gza5h912virkh077dyv17ysb6ar";
|
release."1.15.0".sha256 = "sha256:1ngdc41sgyzyz3i3lkzjhnj66gza5h912virkh077dyv17ysb6ar";
|
||||||
release."1.14.1".sha256 = "sha256-BZPVL8ymjrE9kVGyf6bpc+GA2spS5JBpkUtZi04nPis=";
|
release."1.14.1".sha256 = "sha256-BZPVL8ymjrE9kVGyf6bpc+GA2spS5JBpkUtZi04nPis=";
|
||||||
release."1.13.7".sha256 = "10fnwz30bsvj7ii1vg4l1li5pd7n0qqmwj18snkdr5j9gk0apc1r";
|
release."1.13.7".sha256 = "10fnwz30bsvj7ii1vg4l1li5pd7n0qqmwj18snkdr5j9gk0apc1r";
|
||||||
|
@ -31,7 +33,7 @@ buildDunePackage rec {
|
||||||
buildInputs = [ perl ncurses ]
|
buildInputs = [ perl ncurses ]
|
||||||
++ optional (versionAtLeast version "1.15" || version == "dev") menhir;
|
++ optional (versionAtLeast version "1.15" || version == "dev") menhir;
|
||||||
|
|
||||||
propagatedBuildInputs = [ re ]
|
propagatedBuildInputs = [ re stdlib-shims ]
|
||||||
++ (if versionAtLeast version "1.15" || version == "dev"
|
++ (if versionAtLeast version "1.15" || version == "dev"
|
||||||
then [ menhirLib ]
|
then [ menhirLib ]
|
||||||
else [ camlp5 ]
|
else [ camlp5 ]
|
||||||
|
|
Loading…
Reference in a new issue