mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
26 lines
922 B
Nix
26 lines
922 B
Nix
{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yices-${version}";
|
|
version = "2.5.1";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
sha256 = "1wfq6hcm54h0mqmbs1ip63i0ywlwnciav86sbzk3gafxyzg1nd0c";
|
|
};
|
|
|
|
configureFlags = [ "--with-static-gmp=${gmp-static.out}/lib/libgmp.a"
|
|
"--with-static-gmp-include-dir=${gmp-static.dev}/include"
|
|
];
|
|
buildInputs = [ gmp-static gperf autoreconfHook ];
|
|
|
|
meta = {
|
|
description = "A high-performance theorem prover and SMT solver";
|
|
homepage = "http://yices.csl.sri.com";
|
|
license = stdenv.lib.licenses.unfreeRedistributable;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
};
|
|
}
|