depot/third_party/nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

35 lines
629 B
Nix

{ lib, stdenv
, meson
, ninja
, sysprof
}:
stdenv.mkDerivation rec {
pname = "libsysprof-capture";
inherit (sysprof) src version;
nativeBuildInputs = [
meson
ninja
];
mesonFlags = [
"-Dagent=false"
"-Dsysprofd=none"
"-Dgtk=false"
"-Dlibsysprof=false"
"-Dlibunwind=false"
"-Dhelp=false"
"-Dtools=false"
"-Dtests=false"
"-Dexamples=false"
];
meta = sysprof.meta // {
description = "Static library for Sysprof capture data generation";
license = lib.licenses.bsd2Patent;
platforms = lib.platforms.all;
pkgConfigModules = [ "sysprof-capture-4" ];
};
}