nixpkgs/pkgs/development/libraries/botan/default.upstream

10 lines
311 B
Text
Raw Normal View History

2014-06-10 07:29:13 +02:00
url http://botan.randombit.net/download.html
2015-01-06 16:47:02 +01:00
version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tgz|tbz|tbz2|tar[.]bz2)$'
2014-06-10 07:29:13 +02:00
ensure_version
do_overwrite(){
ensure_hash
2015-01-06 16:47:02 +01:00
set_var_value sha256 $CURRENT_HASH
2014-06-10 07:29:13 +02:00
set_var_value baseVersion ${CURRENT_VERSION%.*}
set_var_value revision ${CURRENT_VERSION##*.}
}