aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
blob: a1f5d00332c47fb39a725f05361c797b3ae3bce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
  };
}