2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-11-12 09:05:59 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, sysprof
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libsysprof-capture";
|
|
|
|
|
|
|
|
inherit (sysprof) src version;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
2022-10-21 18:38:19 +00:00
|
|
|
"-Dagent=false"
|
|
|
|
"-Dsysprofd=none"
|
|
|
|
"-Dgtk=false"
|
2020-11-12 09:05:59 +00:00
|
|
|
"-Dlibsysprof=false"
|
2022-03-30 09:31:56 +00:00
|
|
|
"-Dlibunwind=false"
|
2020-11-12 09:05:59 +00:00
|
|
|
"-Dhelp=false"
|
2022-10-21 18:38:19 +00:00
|
|
|
"-Dtools=false"
|
|
|
|
"-Dtests=false"
|
|
|
|
"-Dexamples=false"
|
2020-11-12 09:05:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = sysprof.meta // {
|
|
|
|
description = "Static library for Sysprof capture data generation";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = lib.licenses.bsd2Patent;
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.all;
|
2023-08-10 07:59:29 +00:00
|
|
|
pkgConfigModules = [ "sysprof-capture-4" ];
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
}
|