Update Sysdig system tracing tool

This commit is contained in:
Michael Raskin 2014-08-03 20:53:00 +04:00
parent 20028936ab
commit 619c368f54
2 changed files with 8 additions and 2 deletions

View File

@ -3,10 +3,10 @@ let
inherit (stdenv.lib) optional optionalString; inherit (stdenv.lib) optional optionalString;
s = rec { s = rec {
baseName="sysdig"; baseName="sysdig";
version="0.1.83"; version = "0.1.86";
name="${baseName}-${version}"; name="${baseName}-${version}";
url="https://github.com/draios/sysdig/archive/${version}.tar.gz"; url="https://github.com/draios/sysdig/archive/${version}.tar.gz";
sha256="0d4fw6vba78hqy8plhcq8lkdcxy1fizrr5aiszdsap7cvd0gls6r"; sha256 = "1bb5whzxmbzr21fxirymhznkgdx01rsqzxd2dlnqvhbf8x2dpzw3";
}; };
buildInputs = [ buildInputs = [
cmake zlib luajit cmake zlib luajit
@ -38,5 +38,6 @@ stdenv.mkDerivation {
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [maintainers.raskin]; maintainers = [maintainers.raskin];
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
downloadPage = "https://github.com/draios/sysdig/releases";
}; };
} }

View File

@ -1,3 +1,8 @@
url https://github.com/draios/sysdig/releases url https://github.com/draios/sysdig/releases
ensure_choice ensure_choice
version '.*/([0-9.]+)[.]tar[.].*' '\1' version '.*/([0-9.]+)[.]tar[.].*' '\1'
do_overwrite () {
ensure_hash
set_var_value sha256 $CURRENT_HASH
set_var_value version $CURRENT_VERSION
}