Merge pull request #19902 from dtzWill/update/yices

yices: 2.3.1 -> 2.5.1
This commit is contained in:
vbgl 2016-10-31 09:35:21 +01:00 committed by GitHub
commit 7f241baaaf

View File

@ -2,24 +2,31 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "yices-${version}"; name = "yices-${version}";
version = "2.3.1"; version = "2.5.1";
src = fetchurl { src = fetchurl {
url = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file=yices-2.3.1-src.tar.gz&accept=I+Agree"; url = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file=yices-${version}-src.tar.gz&accept=I+Agree";
name = "yices-${version}-src.tar.gz"; name = "yices-${version}-src.tar.gz";
sha256 = "1da70n0cah0dh3pk7fcrvjkszx9qmhc0csgl15jqa7bdh707k2zs"; sha256 = "1wfq6hcm54h0mqmbs1ip63i0ywlwnciav86sbzk3gafxyzg1nd0c";
}; };
patchPhase = ''patchShebangs tests/regress/check.sh'';
configureFlags = [ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a" configureFlags = [ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a"
"--with-static-gmp-include-dir=${gmp-static.dev}/include" "--with-static-gmp-include-dir=${gmp-static.dev}/include"
]; ];
buildInputs = [ gmp-static gperf autoreconfHook ]; buildInputs = [ gmp-static gperf autoreconfHook ];
meta = { enableParallelBuilding = true;
doCheck = true;
installPhase = ''make install LDCONFIG=true'';
meta = with stdenv.lib; {
description = "A high-performance theorem prover and SMT solver"; description = "A high-performance theorem prover and SMT solver";
homepage = "http://yices.csl.sri.com"; homepage = "http://yices.csl.sri.com";
license = stdenv.lib.licenses.unfreeRedistributable; license = licenses.unfreeRedistributable;
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; maintainers = [ maintainers.thoughtpolice ];
}; };
} }