depot/third_party/nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

34 lines
581 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;
};
}