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";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.8.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";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "+J15XQaG2C2h3OsjYUj3zlTVynjwuY4PEzayY6WvzqE=";
|
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";
|
2024-02-07 01:22:34 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2022-04-03 18:54:34 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "D-Bus exploration tool";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "d-spy";
|
2022-04-03 18:54:34 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/d-spy";
|
|
|
|
license = with licenses; [
|
|
|
|
lgpl3Plus # library
|
|
|
|
gpl3Plus # app
|
|
|
|
];
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|