Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394{ stdenv, lib, desktop-file-utils, fetchurl, elfutils, gettext, glib, gtk4, json-glib, itstool, libadwaita, libdex, libpanel, libunwind, libxml2, meson, ninja, pkg-config, polkit, shared-mime-info, systemd, wrapGAppsHook4, gnome,}:
stdenv.mkDerivation (finalAttrs: { pname = "sysprof"; version = "48.0";
outputs = [ "out" "lib" "dev" ];
src = fetchurl { url = "mirror://gnome/sources/sysprof/${lib.versions.major finalAttrs.version}/sysprof-${finalAttrs.version}.tar.xz"; hash = "sha256-Gw8DgPLzBwi6h4KTIaBv7h2zbfqHeXu/B/CnrPRJjRg="; };
nativeBuildInputs = [ desktop-file-utils gettext itstool libxml2 meson ninja pkg-config shared-mime-info wrapGAppsHook4 ];
buildInputs = [ elfutils glib gtk4 json-glib polkit systemd libadwaita libdex libpanel libunwind ];
mesonFlags = [ "-Dsystemdunitdir=lib/systemd/system" # In a separate libsysprof-capture package "-Dinstall-static=false" ];
passthru = { updateScript = gnome.updateScript { packageName = "sysprof"; }; };
meta = with lib; { description = "System-wide profiler for Linux"; homepage = "https://gitlab.gnome.org/GNOME/sysprof"; longDescription = '' Sysprof is a sampling CPU profiler for Linux that uses the perf_event_open system call to profile the entire system, not just a single application. Sysprof handles shared libraries and applications do not need to be recompiled. In fact they don't even have to be restarted. ''; license = licenses.gpl3Plus; teams = [ teams.gnome ]; platforms = platforms.unix; };})