Allow overrides for SF version extractor

svn path=/nixpkgs/trunk/; revision=22394
This commit is contained in:
Michael Raskin 2010-06-23 10:05:57 +00:00
parent a10b9e1d3a
commit ba1f6982fd
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ prefetchClause=""
echo "Sourceforge-corrected URL: $freshUrl" >&2
version="$(echo "$freshUrl" |
sed -re "$extractVersionSF")"
sed -re "$(getAttr versionExtractorSedScript "$extractVersionSF")")"
baseName="$(getAttr baseName "$(echo "$freshUrl" | sed -re 's@.*/project/([^/]+)/.*@\1@')")"
url="$freshUrl"
name="$baseName-$version"