alt-ergo: 2.3.0 → 2.3.1
This commit is contained in:
parent
fcbc4151d4
commit
618bca7054
@ -1,26 +1,48 @@
|
|||||||
{ fetchurl, stdenv, which, dune, ocamlPackages }:
|
{ fetchurl, lib, which, ocamlPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "alt-ergo";
|
pname = "alt-ergo";
|
||||||
version = "2.3.0";
|
version = "2.3.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://alt-ergo.ocamlpro.com/download_manager.php?target=${pname}-${version}.tar.gz";
|
url = "https://alt-ergo.ocamlpro.com/download_manager.php?target=${pname}-${version}.tar.gz";
|
||||||
name = "${pname}-${version}.tar.gz";
|
name = "${pname}-${version}.tar.gz";
|
||||||
sha256 = "1ycr3ff0gacq1aqzs16n6swgfniwpim0m7rvhcam64kj0a80c6bz";
|
sha256 = "124n836alqm13245hcnxixzc6a15rip919shfflvxqnl617mkmhg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dune which ] ++ (with ocamlPackages; [
|
|
||||||
ocaml findlib camlzip lablgtk menhir num ocplib-simplex psmt2-frontend seq zarith
|
|
||||||
]);
|
|
||||||
|
|
||||||
preConfigure = "patchShebangs ./configure";
|
preConfigure = "patchShebangs ./configure";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ which ];
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
|
let alt-ergo-lib = ocamlPackages.buildDunePackage rec {
|
||||||
|
pname = "alt-ergo-lib";
|
||||||
|
inherit version src preConfigure nativeBuildInputs;
|
||||||
|
configureFlags = pname;
|
||||||
|
propagatedBuildInputs = with ocamlPackages; [ num ocplib-simplex zarith ];
|
||||||
|
}; in
|
||||||
|
|
||||||
|
let alt-ergo-parsers = ocamlPackages.buildDunePackage rec {
|
||||||
|
pname = "alt-ergo-parsers";
|
||||||
|
inherit version src preConfigure nativeBuildInputs;
|
||||||
|
configureFlags = pname;
|
||||||
|
buildInputs = with ocamlPackages; [ menhir ];
|
||||||
|
propagatedBuildInputs = [ alt-ergo-lib ] ++ (with ocamlPackages; [ camlzip psmt2-frontend ]);
|
||||||
|
}; in
|
||||||
|
|
||||||
|
ocamlPackages.buildDunePackage {
|
||||||
|
|
||||||
|
inherit pname version src preConfigure nativeBuildInputs;
|
||||||
|
|
||||||
|
configureFlags = pname;
|
||||||
|
|
||||||
|
buildInputs = [ alt-ergo-parsers ocamlPackages.menhir ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "High-performance theorem prover and SMT solver";
|
description = "High-performance theorem prover and SMT solver";
|
||||||
homepage = "https://alt-ergo.ocamlpro.com/";
|
homepage = "https://alt-ergo.ocamlpro.com/";
|
||||||
license = stdenv.lib.licenses.ocamlpro_nc;
|
license = lib.licenses.ocamlpro_nc;
|
||||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user