Allow overrides for SF version extractor
svn path=/nixpkgs/trunk/; revision=22394
This commit is contained in:
parent
a10b9e1d3a
commit
ba1f6982fd
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue