8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
32 lines
569 B
Nix
32 lines
569 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"
|
|
"-Dlibunwind=false"
|
|
"-Dhelp=false"
|
|
"-Denable_tools=false"
|
|
"-Denable_tests=false"
|
|
"-Denable_examples=false"
|
|
];
|
|
|
|
meta = sysprof.meta // {
|
|
description = "Static library for Sysprof capture data generation";
|
|
license = lib.licenses.bsd2Patent;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|