Make a safer version of default versionReferenceCreator in upstream data updater; use yet another version reference creator in xneur; check in correct URL for it
svn path=/nixpkgs/trunk/; revision=17211
This commit is contained in:
parent
b592993513
commit
85ff50fe4a
@ -2,7 +2,7 @@ rec {
|
||||
version="0.9.6";
|
||||
name="xneur-0.9.6";
|
||||
hash="0xxyj2w5ckk2pnqsx853zgs6s2lq1cb101px472rccpixcbdfs47";
|
||||
url="http://dists.xneur.ru/release-0.9.6.6/tgz/xneur-0.9.6.tar.bz2";
|
||||
url="http://dists.xneur.ru/release-${version}/tgz/xneur-${version}.tar.bz2";
|
||||
advertisedUrl="http://dists.xneur.ru/release-0.9.6/tgz/xneur-0.9.6.tar.bz2";
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
downloadPage = "http://xneur.ru/wiki/Downloads";
|
||||
baseName = "xneur";
|
||||
versionReferenceCreator = "$(replaceAllVersionOccurences)";
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ prefetchClause=""
|
||||
|
||||
mirrorUrl="$(echo "$freshUrl" |
|
||||
eval "sed -r -e \"$(getAttr versionReferenceCreator \
|
||||
's/-([0-9.]+)[.]/-${version}./')\"" |
|
||||
's/-'"${version}"'[.]/-\${version}./')\"" |
|
||||
eval "sed -r -e \"$(getAttr mirrorSedScript)\"")"
|
||||
url="$mirrorUrl"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user