3
0
Fork 0
forked from mirrors/nixpkgs

z3: 4.8.9 -> 4.8.10

This commit is contained in:
Fabian Affolter 2021-02-09 12:07:38 +01:00
parent a073dd54aa
commit 5247884859

View file

@ -1,9 +1,15 @@
{ lib, stdenv, fetchFromGitHub, python, fixDarwinDylibNames
{ lib
, stdenv
, fetchFromGitHub
, python
, fixDarwinDylibNames
, javaBindings ? false
, ocamlBindings ? false
, pythonBindings ? true
, jdk ? null
, ocaml ? null, findlib ? null, zarith ? null
, ocaml ? null
, findlib ? null
, zarith ? null
}:
assert javaBindings -> jdk != null;
@ -13,13 +19,13 @@ with lib;
stdenv.mkDerivation rec {
pname = "z3";
version = "4.8.9";
version = "4.8.10";
src = fetchFromGitHub {
owner = "Z3Prover";
repo = pname;
rev = "z3-${version}";
sha256 = "1hnbzq10d23drd7ksm3c1n2611c3kd0q0yxgz8y78zaafwczvwxx";
sha256 = "1w1ym2l0gipvjx322npw7lhclv8rslq58gnj0d9i96masi3gbycf";
};
nativeBuildInputs = optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
@ -35,7 +41,8 @@ stdenv.mkDerivation rec {
mkdir -p $OCAMLFIND_DESTDIR/stublibs
'';
configurePhase = concatStringsSep " " (
configurePhase = concatStringsSep " "
(
[ "${python.interpreter} scripts/mk_make.py --prefix=$out" ]
++ optional javaBindings "--java"
++ optional ocamlBindings "--ml"
@ -53,14 +60,13 @@ stdenv.mkDerivation rec {
'';
outputs = [ "out" "lib" "dev" "python" ]
++ optional ocamlBindings "ocaml"
;
++ optional ocamlBindings "ocaml";
meta = {
meta = with lib; {
description = "A high-performance theorem prover and SMT solver";
homepage = "https://github.com/Z3Prover/z3";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ thoughtpolice ttuegel ];
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ttuegel ];
};
}