Update smbnetfs

This commit is contained in:
Michael Raskin 2014-08-31 22:54:37 +04:00
parent 2406a89219
commit fc83dfbc49
2 changed files with 11 additions and 8 deletions

View File

@ -12,17 +12,16 @@ let
sourceInfo = rec {
baseName="smbnetfs";
dirBaseName="SMBNetFS";
version="0.5.3a";
version = "0.5.3b";
name="${baseName}-${version}";
project="${baseName}";
url="mirror://sourceforge/project/${project}/${baseName}/${dirBaseName}-${version}/${name}.tar.bz2";
hash="0fzlw11y2vkxmjzz3qcypqlvz074v6a3pl4pyffbniqal64qgrsw";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
sha256 = "1j9b30kh4ymv4nr8c1qc7hfg6pscgyj75ib16pqa0zljjk1klx18";
};
inherit (sourceInfo) name version;
@ -40,11 +39,9 @@ rec {
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.gpl2;
};
passthru = {
updateInfo = {
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
};
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
updateWalker = true;
inherit version;
};
}) x

View File

@ -0,0 +1,6 @@
url http://sourceforge.net/projects/smbnetfs/files/smbnetfs/
version_link '[-][0-9.]+[a-z]*/$'
version_link '[.]tar[.][a-z0-9]+/download$'
SF_redirect
version '.*[-]([0-9.]+[a-z]*)[.]tar[.].*' '\1'
do_overwrite () { do_overwrite_just_version; }