2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv
|
2020-10-24 04:45:50 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, sysprof
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libsysprof-capture";
|
|
|
|
|
|
|
|
inherit (sysprof) src version;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
2022-08-06 12:51:38 +00:00
|
|
|
"-Dagent=false"
|
2022-07-23 15:48:52 +00:00
|
|
|
"-Dsysprofd=none"
|
|
|
|
"-Dgtk=false"
|
2020-10-24 04:45:50 +00:00
|
|
|
"-Dlibsysprof=false"
|
2022-03-15 20:32:06 +00:00
|
|
|
"-Dlibunwind=false"
|
2020-10-24 04:45:50 +00:00
|
|
|
"-Dhelp=false"
|
2022-07-23 15:48:52 +00:00
|
|
|
"-Dtools=false"
|
|
|
|
"-Dtests=false"
|
|
|
|
"-Dexamples=false"
|
2020-10-24 04:45:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = sysprof.meta // {
|
|
|
|
description = "Static library for Sysprof capture data generation";
|
2021-03-21 01:29:06 +00:00
|
|
|
license = lib.licenses.bsd2Patent;
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = lib.platforms.all;
|
2020-10-24 04:45:50 +00:00
|
|
|
};
|
|
|
|
}
|