Skip to content

Commit

Permalink
nixpkgs: add alt-ergo 0.95.2
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Seipp <aseipp@pobox.com>
  • Loading branch information
thoughtpolice committed May 1, 2014
1 parent 4ee4f76 commit 6d52463
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,10 @@
fullName = "Sleepycat Public License";
url = "https://en.wikipedia.org/wiki/Sleepycat_License";
};

cecill-c = {
shortName = "CeCILL-C";
fullName = "CEA CNRS INRIA Logiciel Libre";
url = "http://www.cecill.info/licences.en.html";
};
}
23 changes: 23 additions & 0 deletions pkgs/applications/science/logic/alt-ergo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 = "Alt-Ergo is a 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10294,6 +10294,8 @@ let

### SCIENCE/LOGIC

alt-ergo = callPackage ../applications/science/logic/alt-ergo {};

coq = callPackage ../applications/science/logic/coq {
inherit (ocamlPackages) findlib lablgtk;
camlp5 = ocamlPackages.camlp5_transitional;
Expand Down

0 comments on commit 6d52463

Please sign in to comment.