diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/logic/eprover/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/logic/eprover/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/logic/eprover/default.nix b/nixpkgs/pkgs/applications/science/logic/eprover/default.nix new file mode 100644 index 000000000000..4d8e7b17b2bc --- /dev/null +++ b/nixpkgs/pkgs/applications/science/logic/eprover/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, which }: + +stdenv.mkDerivation rec { + name = "eprover-${version}"; + version = "2.2"; + + src = fetchurl { + url = "https://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_${version}/E.tgz"; + sha256 = "08ihpwgkz0l7skr42iw8lm202kqr51i792bs61qsbnk9gsjlab1c"; + }; + + buildInputs = [ which ]; + + preConfigure = '' + sed -e 's/ *CC *= *gcc$//' -i Makefile.vars + ''; + configureFlags = [ + "--exec-prefix=$(out)" + "--man-prefix=$(out)/share/man" + ]; + + meta = with stdenv.lib; { + description = "Automated theorem prover for full first-order logic with equality"; + homepage = http://www.eprover.org/; + license = licenses.gpl2; + maintainers = with maintainers; [ raskin gebner ]; + platforms = platforms.all; + }; +} |