z3_4_5_0: New expression, to access the release version's API
This commit is contained in:
parent
d1532bc6c6
commit
2e93f93b2a
31
pkgs/applications/science/logic/z3/4.5.0.nix
Normal file
31
pkgs/applications/science/logic/z3/4.5.0.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, python2, fixDarwinDylibNames }:
|
||||||
|
|
||||||
|
let
|
||||||
|
python = python2;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "z3-${version}";
|
||||||
|
version = "4.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Z3Prover";
|
||||||
|
repo = "z3";
|
||||||
|
rev = "z3-4.5.0";
|
||||||
|
sha256 = "0ssp190ksak93hiz61z90x6hy9hcw1ywp8b2dzmbhn6fbd4bnxzp";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ python fixDarwinDylibNames ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
${python.interpreter} scripts/mk_make.py --prefix=$out --python --pypkgdir=$out/${python.sitePackages}
|
||||||
|
cd build
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A high-performance theorem prover and SMT solver";
|
||||||
|
homepage = "https://github.com/Z3Prover/z3";
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||||
|
};
|
||||||
|
}
|
@ -19002,6 +19002,7 @@ with pkgs;
|
|||||||
gmp-static = gmp.override { withStatic = true; };
|
gmp-static = gmp.override { withStatic = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
z3_4_5_0 = callPackage ../applications/science/logic/z3/4.5.0.nix {};
|
||||||
z3 = callPackage ../applications/science/logic/z3 {};
|
z3 = callPackage ../applications/science/logic/z3 {};
|
||||||
|
|
||||||
aiger = callPackage ../applications/science/logic/aiger {};
|
aiger = callPackage ../applications/science/logic/aiger {};
|
||||||
|
Loading…
Reference in New Issue
Block a user