sysdig: update to 0.1.81

This commit is contained in:
Vladimir Kirillov 2014-05-06 23:54:41 +03:00
parent a819e8f4ef
commit bf9612e797

View File

@ -1,16 +1,14 @@
{stdenv, fetchurl, cmake, luajit, kernel}: {stdenv, fetchurl, cmake, luajit, kernel, zlib}:
let let
s = # Generated upstream information s = rec {
rec {
baseName="sysdig"; baseName="sysdig";
version="0.1.79"; version="0.1.81";
name="${baseName}-${version}"; name="${baseName}-${version}";
hash="04ng4q859xxlpsnavx6rcgmq7frzgbzxm0p5zmdsmhz8m6hfvz7l"; url="https://github.com/draios/sysdig/archive/${version}.tar.gz";
url="https://github.com/draios/sysdig/archive/0.1.79.tar.gz"; sha256="0p9j1fy7lr027nsvr5bq0416nlsbvk02irzazmigsbr03fg0x1wv";
sha256="04ng4q859xxlpsnavx6rcgmq7frzgbzxm0p5zmdsmhz8m6hfvz7l";
}; };
buildInputs = [ buildInputs = [
cmake luajit kernel cmake luajit kernel zlib
]; ];
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -22,13 +20,14 @@ stdenv.mkDerivation {
cmakeFlags = [ cmakeFlags = [
"-DUSE_BUNDLED_LUAJIT=OFF" "-DUSE_BUNDLED_LUAJIT=OFF"
"-DUSE_BUNDLED_ZLIB=OFF"
]; ];
makeFlags = [ preConfigure = ''
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" export INSTALL_MOD_PATH="$out"
]; export KERNELDIR="${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
'';
postInstall = '' postInstall = ''
mkdir -p $out/lib/modules/${kernel.modDirVersion}/misc/sysdig make install_driver
cp driver/*.ko $out/lib/modules/${kernel.modDirVersion}/misc/sysdig
''; '';
meta = { meta = {