2021-01-23 13:26:19 +01:00
|
|
|
{ lib, stdenv
|
2020-10-24 06:45:50 +02:00
|
|
|
, 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";
|
2021-03-21 02:29:06 +01:00
|
|
|
license = lib.licenses.bsd2Patent;
|
2021-01-23 13:26:19 +01:00
|
|
|
platforms = lib.platforms.all;
|
2020-10-24 06:45:50 +02:00
|
|
|
};
|
|
|
|
}
|