31 lines
508 B
Nix
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;
|
||
|
};
|
||
|
}
|