nixpkgs/pkgs/development/tools/profiling/sysprof/capture.nix
Bobby Rong 355189f547 sysprof: 45.beta → 45.rc
https://gitlab.gnome.org/GNOME/sysprof/-/compare/45.beta...45.rc

No longer possible to disable libunwind – it is bound to libsysprof:

4ad44609d0

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:01 +01:00

35 lines
586 B
Nix

{ stdenv
, lib
, meson
, ninja
, sysprof
}:
stdenv.mkDerivation rec {
pname = "libsysprof-capture";
inherit (sysprof) src version;
nativeBuildInputs = [
meson
ninja
];
mesonFlags = [
"-Dsysprofd=none"
"-Dgtk=false"
"-Dlibsysprof=false"
"-Dhelp=false"
"-Dtools=false"
"-Dtests=false"
"-Dexamples=false"
];
meta = sysprof.meta // {
description = "Static library for Sysprof capture data generation";
license = lib.licenses.bsd2Patent;
platforms = lib.platforms.all;
pkgConfigModules = [ "sysprof-capture-4" ];
};
}