at master 677 B view raw
1{ 2 stdenv, 3 lib, 4 meson, 5 ninja, 6 sysprof, 7}: 8 9stdenv.mkDerivation { 10 pname = "libsysprof-capture"; 11 12 inherit (sysprof) src version; 13 14 nativeBuildInputs = [ 15 meson 16 ninja 17 ]; 18 19 mesonFlags = [ 20 "-Dsysprofd=none" 21 "-Dgtk=false" 22 "-Dlibsysprof=false" 23 "-Dhelp=false" 24 "-Dtools=false" 25 "-Dtests=false" 26 "-Dexamples=false" 27 "-Dpolkit-agent=disabled" # only useful for sysprof-cli 28 "-Ddebuginfod=disabled" 29 ]; 30 31 meta = sysprof.meta // { 32 description = "Static library for Sysprof capture data generation"; 33 license = lib.licenses.bsd2Patent; 34 platforms = lib.platforms.all; 35 pkgConfigModules = [ "sysprof-capture-4" ]; 36 }; 37}