Permalink
Browse files

Update E prover

  • Loading branch information...
1 parent 0ee1e2a commit 1c3434cc16f1ff25a6c1dc11c38ffc4af39ec466 @7c6f434c 7c6f434c committed Dec 8, 2012
@@ -1,12 +1,21 @@
{ stdenv, fetchurl, which, texLive }:
-
+let
+ s = # Generated upstream information
+ rec {
+ baseName="eprover";
+ version="1.6";
+ name="${baseName}-${version}";
+ hash="140cnw4qck1hancrqdh0f77yfba5ljhdnfxdxsl0a86a6y7ydbwi";
+ url="http://www4.in.tum.de/~schulz/WORK/E_DOWNLOAD/V_1.6/E.tgz";
+ sha256="140cnw4qck1hancrqdh0f77yfba5ljhdnfxdxsl0a86a6y7ydbwi";
+ };
+in
stdenv.mkDerivation {
- name = "EProver-1.4";
+ inherit (s) name;
src = fetchurl {
- name = "E-1.4.tar.gz";
- url = "http://www4.informatik.tu-muenchen.de/~schulz/WORK/E_DOWNLOAD/V_1.4/E.tgz";
- sha256 = "1hxkr21xqkkh4bzqip6qf70w9xvvb8p20zzkvyin631ffgvyvr93";
+ name = "E-${s.version}.tar.gz";
+ inherit (s) url sha256;
};
buildInputs = [which texLive];
@@ -27,6 +36,7 @@ stdenv.mkDerivation {
'';
meta = {
+ inherit (s) version;
description = "E automated theorem prover";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.all;
@@ -0,0 +1,3 @@
+url http://www4.informatik.tu-muenchen.de/~schulz/E/Download.html
+version_link '[.]tgz$'
+version '.*[/]V_([0-9.]+)[/].*' '\1'
@@ -11,4 +11,4 @@ echo "URL: $url" >&2
curl -L -k "$url" | sed -re 's/^/-/;s/[hH][rR][eE][fF]="([^"]*)"/\n+\1\n-/g' | \
sed -e '/^-/d; s/^[+]//; /^#/d;'"s/^\\//$protocol:\\/\\/$server\\//g" | \
- sed -re 's~^[^:]*$~'"$protocol://$basepath/&~"
+ sed -re 's`^[^:]*$`'"$protocol://$basepath/&\`"
@@ -8634,7 +8634,7 @@ let
cvc3 = callPackage ../applications/science/logic/cvc3 {};
- eprover = callPackage ../applications/science/logic/eProver {
+ eprover = callPackage ../applications/science/logic/eprover {
texLive = texLiveAggregationFun {
paths = [
texLive texLiveExtra

0 comments on commit 1c3434c

Please sign in to comment.