mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
355189f547
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>
35 lines
586 B
Nix
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" ];
|
|
};
|
|
}
|