forked from mirrors/nixpkgs
Update Sysdig, adding new dependencies
This commit is contained in:
parent
f39c3ebf04
commit
14e7d5440b
|
@ -1,15 +1,15 @@
|
|||
{stdenv, fetchurl, cmake, luajit, kernel, zlib}:
|
||||
{stdenv, fetchurl, cmake, luajit, kernel, zlib, ncurses}:
|
||||
let
|
||||
inherit (stdenv.lib) optional optionalString;
|
||||
s = rec {
|
||||
baseName="sysdig";
|
||||
version = "0.1.99";
|
||||
version = "0.1.101";
|
||||
name="${baseName}-${version}";
|
||||
url="https://github.com/draios/sysdig/archive/${version}.tar.gz";
|
||||
sha256 = "02faw8s07i7jjydqzqfs0r9lc2qmny3sn26741bz0hmazs9h9w76";
|
||||
sha256 = "1dlx1v7wr0i36sbybr4kj8sziyrfxs4pcn6bnl0ljlb5wndy75b9";
|
||||
};
|
||||
buildInputs = [
|
||||
cmake zlib luajit
|
||||
cmake zlib luajit ncurses
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
@ -22,6 +22,7 @@ stdenv.mkDerivation {
|
|||
cmakeFlags = [
|
||||
"-DUSE_BUNDLED_LUAJIT=OFF"
|
||||
"-DUSE_BUNDLED_ZLIB=OFF"
|
||||
"-DUSE_BUNDLED_NCURSES=OFF"
|
||||
] ++ optional (kernel == null) "-DBUILD_DRIVER=OFF";
|
||||
preConfigure = ''
|
||||
export INSTALL_MOD_PATH="$out"
|
||||
|
|
Loading…
Reference in a new issue