1{ lib, stdenv
2, meson
3, ninja
4, sysprof
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libsysprof-capture";
9
10 inherit (sysprof) src version;
11
12 nativeBuildInputs = [
13 meson
14 ninja
15 ];
16
17 mesonFlags = [
18 "-Dagent=false"
19 "-Dsysprofd=none"
20 "-Dgtk=false"
21 "-Dlibsysprof=false"
22 "-Dlibunwind=false"
23 "-Dhelp=false"
24 "-Dtools=false"
25 "-Dtests=false"
26 "-Dexamples=false"
27 ];
28
29 meta = sysprof.meta // {
30 description = "Static library for Sysprof capture data generation";
31 license = lib.licenses.bsd2Patent;
32 platforms = lib.platforms.all;
33 };
34}