summary refs log tree commit diff
path: root/pkgs/applications/science/logic/cvc4/default.nix
blob: 5b2e9c54d6f81630f99011b014aabc45bbe700ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, gmp, libantlr3c, boost}:

stdenv.mkDerivation {
  name = "cvc4-1.4";
  src = fetchurl {
    url = http://cvc4.cs.nyu.edu/builds/src/cvc4-1.4.tar.gz;
    sha256 = "093h7zgv4z4ad503j30dpn8k2pz9m90pvd7gi5axdmwsxgwlzzkn";
  };

  buildInputs = [ gmp libantlr3c boost ];

  preConfigure = "patchShebangs ./src/";

  doChecks = true;

  meta = with stdenv.lib; {
    description = "An efficient open-source automatic theorem prover for satisfiability modulo theories (SMT) problems";
    homepage = http://cvc4.cs.nyu.edu/web/;
    license = licenses.bsd3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ vbgl ];
  };
}