z3_4_5_0: New expression, to access the release version's API

+32
+31
pkgs/applications/science/logic/z3/4.5.0.nix
··· 1 + { stdenv, fetchFromGitHub, python2, fixDarwinDylibNames }: 2 + 3 + let 4 + python = python2; 5 + in stdenv.mkDerivation rec { 6 + name = "z3-${version}"; 7 + version = "4.5.0"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "Z3Prover"; 11 + repo = "z3"; 12 + rev = "z3-4.5.0"; 13 + sha256 = "0ssp190ksak93hiz61z90x6hy9hcw1ywp8b2dzmbhn6fbd4bnxzp"; 14 + }; 15 + 16 + buildInputs = [ python fixDarwinDylibNames ]; 17 + enableParallelBuilding = true; 18 + 19 + configurePhase = '' 20 + ${python.interpreter} scripts/mk_make.py --prefix=$out --python --pypkgdir=$out/${python.sitePackages} 21 + cd build 22 + ''; 23 + 24 + meta = { 25 + description = "A high-performance theorem prover and SMT solver"; 26 + homepage = "https://github.com/Z3Prover/z3"; 27 + license = stdenv.lib.licenses.mit; 28 + platforms = stdenv.lib.platforms.unix; 29 + maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 30 + }; 31 + }
+1
pkgs/top-level/all-packages.nix
··· 19002 19002 gmp-static = gmp.override { withStatic = true; }; 19003 19003 }; 19004 19004 19005 + z3_4_5_0 = callPackage ../applications/science/logic/z3/4.5.0.nix {}; 19005 19006 z3 = callPackage ../applications/science/logic/z3 {}; 19006 19007 19007 19008 aiger = callPackage ../applications/science/logic/aiger {};