2022-04-03 18:54:34 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, desktop-file-utils
|
|
|
|
, fetchurl
|
|
|
|
, glib
|
2022-07-14 12:49:19 +00:00
|
|
|
, gettext
|
2022-04-03 18:54:34 +00:00
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wrapGAppsHook4
|
|
|
|
, gnome
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "d-spy";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "1.6.0";
|
2022-04-03 18:54:34 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2022-10-21 18:38:19 +00:00
|
|
|
url = "mirror://gnome/sources/d-spy/${lib.versions.majorMinor version}/d-spy-${version}.tar.xz";
|
2023-04-12 12:48:02 +00:00
|
|
|
sha256 = "otCiEFE7tGRw0A40VEeRIIMwFT9Ms0+FhxcpEaxPiv0=";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
desktop-file-utils
|
|
|
|
wrapGAppsHook4
|
2022-07-14 12:49:19 +00:00
|
|
|
gettext
|
|
|
|
glib
|
2022-04-03 18:54:34 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
2022-10-21 18:38:19 +00:00
|
|
|
packageName = "d-spy";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "D-Bus exploration tool";
|
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/d-spy";
|
|
|
|
license = with licenses; [
|
|
|
|
lgpl3Plus # library
|
|
|
|
gpl3Plus # app
|
|
|
|
];
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|