Update TPTP and make URL set robust to moving old versions to archive
This commit is contained in:
parent
87304674a6
commit
4c55ae8588
@ -11,15 +11,19 @@ let
|
|||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||||
sourceInfo = rec {
|
sourceInfo = rec {
|
||||||
baseName="TPTP";
|
baseName="TPTP";
|
||||||
version="5.4.0";
|
version="6.0.0";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
url="http://www.cs.miami.edu/~tptp/TPTP/Distribution/TPTP-v${version}.tgz";
|
urls=
|
||||||
hash="0rvrmh3vw4bk7mj29bx1pi76g2bsqyc13gsnpa1cbjs5pzyhm780";
|
[
|
||||||
|
"http://www.cs.miami.edu/~tptp/TPTP/Distribution/TPTP-v${version}.tgz"
|
||||||
|
"http://www.cs.miami.edu/~tptp/TPTP/Archive/TPTP-v${version}/TPTP-v${version}.tgz"
|
||||||
|
];
|
||||||
|
hash="0jnjkqdz937c7mkxvh9wc3byw5h1k19jss058fbzdxxc2hkwq1af";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = a.fetchurl {
|
src = a.fetchurl {
|
||||||
url = sourceInfo.url;
|
urls = sourceInfo.urls;
|
||||||
sha256 = sourceInfo.hash;
|
sha256 = sourceInfo.hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user