Update E prover

nixos-19.03
Michael Raskin 10 years ago
parent 0ee1e2ad41
commit 1c3434cc16
  1. 20
      pkgs/applications/science/logic/eprover/default.nix
  2. 3
      pkgs/applications/science/logic/eprover/default.upstream
  3. 2
      pkgs/build-support/upstream-updater/urls-from-page.sh
  4. 2
      pkgs/top-level/all-packages.nix

@ -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

Loading…
Cancel
Save