alt-ergo: 2.4.1 → 2.4.2
This commit is contained in:
parent
5360362c8e
commit
9bb0d53a4a
1 changed files with 9 additions and 13 deletions
|
@ -2,28 +2,30 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "alt-ergo";
|
pname = "alt-ergo";
|
||||||
version = "2.4.1";
|
version = "2.4.2";
|
||||||
|
|
||||||
|
configureScript = "ocaml unix.cma configure.ml";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OCamlPro";
|
owner = "OCamlPro";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0hglj1p0753w2isds01h90knraxa42d2jghr35dpwf9g8a1sm9d3";
|
sha256 = "sha256-8pJ/1UAbheQaLFs5Uubmmf5D0oFJiPxF6e2WTZgRyAc=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
let alt-ergo-lib = ocamlPackages.buildDunePackage rec {
|
let alt-ergo-lib = ocamlPackages.buildDunePackage rec {
|
||||||
pname = "alt-ergo-lib";
|
pname = "alt-ergo-lib";
|
||||||
inherit version src;
|
inherit version src configureScript;
|
||||||
configureFlags = [ pname ];
|
configureFlags = [ pname ];
|
||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
buildInputs = with ocamlPackages; [ dune-configurator ];
|
buildInputs = with ocamlPackages; [ dune-configurator ];
|
||||||
propagatedBuildInputs = with ocamlPackages; [ num ocplib-simplex stdlib-shims zarith ];
|
propagatedBuildInputs = with ocamlPackages; [ num ocplib-simplex seq stdlib-shims zarith ];
|
||||||
}; in
|
}; in
|
||||||
|
|
||||||
let alt-ergo-parsers = ocamlPackages.buildDunePackage rec {
|
let alt-ergo-parsers = ocamlPackages.buildDunePackage rec {
|
||||||
pname = "alt-ergo-parsers";
|
pname = "alt-ergo-parsers";
|
||||||
inherit version src;
|
inherit version src configureScript;
|
||||||
configureFlags = [ pname ];
|
configureFlags = [ pname ];
|
||||||
nativeBuildInputs = [ which ocamlPackages.menhir ];
|
nativeBuildInputs = [ which ocamlPackages.menhir ];
|
||||||
propagatedBuildInputs = [ alt-ergo-lib ] ++ (with ocamlPackages; [ camlzip psmt2-frontend ]);
|
propagatedBuildInputs = [ alt-ergo-lib ] ++ (with ocamlPackages; [ camlzip psmt2-frontend ]);
|
||||||
|
@ -31,18 +33,12 @@ let alt-ergo-parsers = ocamlPackages.buildDunePackage rec {
|
||||||
|
|
||||||
ocamlPackages.buildDunePackage {
|
ocamlPackages.buildDunePackage {
|
||||||
|
|
||||||
inherit pname version src;
|
inherit pname version src configureScript;
|
||||||
|
|
||||||
# Ensure compatibility with Menhir ≥ 20211215
|
|
||||||
patches = fetchpatch {
|
|
||||||
url = "https://github.com/OCamlPro/alt-ergo/commit/0f9c45af352657c3aec32fca63d11d44f5126df8.patch";
|
|
||||||
sha256 = "sha256:0zaj3xbk2s8k8jl0id3nrhdfq9mv0n378cbawwx3sziiizq7djbg";
|
|
||||||
};
|
|
||||||
|
|
||||||
configureFlags = [ pname ];
|
configureFlags = [ pname ];
|
||||||
|
|
||||||
nativeBuildInputs = [ which ocamlPackages.menhir ];
|
nativeBuildInputs = [ which ocamlPackages.menhir ];
|
||||||
buildInputs = [ alt-ergo-parsers ocamlPackages.cmdliner ];
|
buildInputs = [ alt-ergo-parsers ocamlPackages.cmdliner_1_1 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "High-performance theorem prover and SMT solver";
|
description = "High-performance theorem prover and SMT solver";
|
||||||
|
|
Loading…
Reference in a new issue