libsysprof-capture: init
This will allow us to use sysprof-capture as a dependency of other libraries like GLib.
This commit is contained in:
parent
8e52dfa09e
commit
c7c4c236e0
2 changed files with 32 additions and 0 deletions
30
pkgs/development/tools/profiling/sysprof/capture.nix
Normal file
30
pkgs/development/tools/profiling/sysprof/capture.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv
|
||||
, meson
|
||||
, ninja
|
||||
, sysprof
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libsysprof-capture";
|
||||
|
||||
inherit (sysprof) src version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dwith_sysprofd=none"
|
||||
"-Dlibsysprof=false"
|
||||
"-Dhelp=false"
|
||||
"-Denable_tools=false"
|
||||
"-Denable_tests=false"
|
||||
"-Denable_examples=false"
|
||||
];
|
||||
|
||||
meta = sysprof.meta // {
|
||||
description = "Static library for Sysprof capture data generation";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -18621,6 +18621,8 @@ in
|
|||
|
||||
sysprof = callPackage ../development/tools/profiling/sysprof { };
|
||||
|
||||
libsysprof-capture = callPackage ../development/tools/profiling/sysprof/capture.nix { };
|
||||
|
||||
sysklogd = callPackage ../os-specific/linux/sysklogd { };
|
||||
|
||||
syslinux = callPackage ../os-specific/linux/syslinux { };
|
||||
|
|
Loading…
Reference in a new issue