summary refs log tree commit diff
path: root/pkgs/applications/science/logic/alt-ergo/default.nix
blob: 62359baf2bc6c0bdb1f9ad44e45f97c11c871785 (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
{ fetchurl, stdenv, ocaml, ocamlPackages, gmp }:

stdenv.mkDerivation rec {
  name = "alt-ergo-${version}";
  version = "0.95.2";

  src = fetchurl {
    url    = "http://alt-ergo.ocamlpro.com/download_manager.php?target=${name}.tar.gz";
    name   = "${name}.tar.gz";
    sha256 = "1b7f0rh3jgm67g0x2m3wv7gnnqmz9cjlrfm136z56ihlkhsd8v2s";
  };

  buildInputs = with ocamlPackages;
    [ ocaml findlib ocamlgraph zarith lablgtk gmp ];

  meta = {
    description = "High-performance theorem prover and SMT solver";
    homepage    = "http://alt-ergo.ocamlpro.com/";
    license     = stdenv.lib.licenses.cecill-c; # LGPL-2 compatible
    platforms   = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
  };
}