depot/third_party/nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

34 lines
586 B
Nix

{ stdenv
, lib
, meson
, ninja
, sysprof
}:
stdenv.mkDerivation rec {
pname = "libsysprof-capture";
inherit (sysprof) src version;
nativeBuildInputs = [
meson
ninja
];
mesonFlags = [
"-Dsysprofd=none"
"-Dgtk=false"
"-Dlibsysprof=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" ];
};
}