mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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
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 { };
|
sysprof = callPackage ../development/tools/profiling/sysprof { };
|
||||||
|
|
||||||
|
libsysprof-capture = callPackage ../development/tools/profiling/sysprof/capture.nix { };
|
||||||
|
|
||||||
sysklogd = callPackage ../os-specific/linux/sysklogd { };
|
sysklogd = callPackage ../os-specific/linux/sysklogd { };
|
||||||
|
|
||||||
syslinux = callPackage ../os-specific/linux/syslinux { };
|
syslinux = callPackage ../os-specific/linux/syslinux { };
|
||||||
|
Loading…
Reference in New Issue
Block a user