sysdig: 0.1.102 -> 0.5.1

This commit is contained in:
Anders Papitto 2015-12-12 12:25:17 -08:00
parent 9f71bba8a4
commit 229f0ac257

View File

@ -1,15 +1,15 @@
{stdenv, fetchurl, cmake, luajit, kernel, zlib, ncurses}: {stdenv, fetchurl, cmake, luajit, kernel, zlib, ncurses, perl, jsoncpp, libb64, openssl, curl}:
let let
inherit (stdenv.lib) optional optionalString; inherit (stdenv.lib) optional optionalString;
s = rec { s = rec {
baseName="sysdig"; baseName="sysdig";
version = "0.1.102"; version = "0.5.1";
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 = "0mrz14wvcb8m8idr4iqbr3jmxfs7dlmh06n0q9fcfph75wkc5fp0"; sha256 = "08wnk0593ljdq466hk0npsjc0gbm37nsjm1x2ilsf58n1xl8dmfs";
}; };
buildInputs = [ buildInputs = [
cmake zlib luajit ncurses cmake zlib luajit ncurses perl jsoncpp libb64 openssl curl
]; ];
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -20,9 +20,7 @@ stdenv.mkDerivation {
}; };
cmakeFlags = [ cmakeFlags = [
"-DUSE_BUNDLED_LUAJIT=OFF" "-DUSE_BUNDLED_DEPS=OFF"
"-DUSE_BUNDLED_ZLIB=OFF"
"-DUSE_BUNDLED_NCURSES=OFF"
] ++ optional (kernel == null) "-DBUILD_DRIVER=OFF"; ] ++ optional (kernel == null) "-DBUILD_DRIVER=OFF";
preConfigure = '' preConfigure = ''
export INSTALL_MOD_PATH="$out" export INSTALL_MOD_PATH="$out"