3
0
Fork 0
forked from mirrors/nixpkgs

Update ioping

This commit is contained in:
Michael Raskin 2014-11-04 00:01:28 +03:00
parent 09e505a4c4
commit 4fd8e1eac0
2 changed files with 5 additions and 9 deletions

View file

@ -10,15 +10,16 @@ let
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="ioping";
version = "0.8";
version = "0.9";
name="${baseName}-${version}";
url="http://ioping.googlecode.com/files/${name}.tar.gz";
url="https://docs.google.com/uc?id=0B_PlDc2qaehFWWtLZ3Z3N1ltdm8&export=download";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = "0j7yal61nby1lkg9wnr6lxfljbd7wl3n0z8khqwvc9lf57bxngz2";
name = "${sourceInfo.name}.tar.gz";
sha256 = "0pbp7b3304y9yyv2w41l3898h5q8w77hnnnq1vz8qz4qfl4467lm";
};
inherit (sourceInfo) name version;
@ -39,7 +40,7 @@ rec {
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.gpl3Plus;
downloadPage = "http://code.google.com/p/ioping/downloads/list";
homepage = "http://code.google.com/p/ioping/";
inherit version;
};
}) x

View file

@ -1,5 +0,0 @@
url http://code.google.com/p/ioping/downloads/list
version_link '[.]tar[.][a-z0-9]+$'
process 'code[.]google[.]com//' ''
do_overwrite() { do_overwrite_just_version; }