1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
2021-01-23 20:30:03 +07:00

31 lines
506 B
Nix

{ lib, 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 = lib.platforms.all;
};
}