Update botan

This commit is contained in:
Michael Raskin 2014-06-10 09:29:13 +04:00
parent f4987a0edc
commit cfe5bee000
2 changed files with 13 additions and 3 deletions

View File

@ -14,12 +14,12 @@ let
sourceInfo = rec {
baseName="botan";
tarBaseName="Botan";
baseVersion="1.8";
revision="11";
baseVersion = "1.10";
revision = "8";
version="${baseVersion}.${revision}";
name="${baseName}-${version}";
url="http://files.randombit.net/${baseName}/v${baseVersion}/${tarBaseName}-${version}.tbz";
hash="194vffc9gfb0912lzndn8nzblg2d2gjmk13fc8hppgpw7ln0mdn3";
hash = "182f316rbdd6jrqn92vjms3jyb9syn4ic0nzi3b7rfjbj3zdabxw";
};
in
rec {
@ -43,6 +43,7 @@ rec {
];
platforms = with a.lib.platforms;
unix;
inherit version;
};
passthru = {
updateInfo = {

View File

@ -0,0 +1,9 @@
url http://botan.randombit.net/download.html
version_link 'Botan-[0-9]+[.][0-9]*[02468]([.][0-9]+)?[.](tbz|tbz2|tar[.]bz2)$'
ensure_version
ensure_hash
do_overwrite(){
set_var_value hash $CURRENT_HASH
set_var_value baseVersion ${CURRENT_VERSION%.*}
set_var_value revision ${CURRENT_VERSION##*.}
}