9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
70 lines
1.5 KiB
Nix
70 lines
1.5 KiB
Nix
{ stdenv
|
|
, lib
|
|
, desktop-file-utils
|
|
, fetchurl
|
|
, gettext
|
|
, glib
|
|
, gtk3
|
|
, itstool
|
|
, libdazzle
|
|
, libxml2
|
|
, meson, ninja
|
|
, pango
|
|
, pkg-config
|
|
, polkit
|
|
, shared-mime-info
|
|
, systemd
|
|
, wrapGAppsHook
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sysprof";
|
|
version = "3.38.1";
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1z2i9187f2jx456l7h07wy8m9a0p7pj3xiv1aji3snq7rjb1lkj0";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
shared-mime-info
|
|
wrapGAppsHook
|
|
gnome3.adwaita-icon-theme
|
|
];
|
|
buildInputs = [ glib gtk3 pango polkit systemd.dev (lib.getLib systemd) libdazzle ];
|
|
|
|
mesonFlags = [
|
|
"-Dsystemdunitdir=lib/systemd/system"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "System-wide profiler for Linux";
|
|
homepage = "https://wiki.gnome.org/Apps/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.gpl2Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|