1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
Jan Tojnar c7c4c236e0
libsysprof-capture: init
This will allow us to use sysprof-capture as a dependency of other libraries like GLib.
2020-10-24 06:57:59 +02:00

31 lines
508 B
Nix

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