depot/third_party/nixpkgs/pkgs/development/tools/misc/d-spy/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

61 lines
1 KiB
Nix

{ stdenv
, lib
, desktop-file-utils
, fetchurl
, glib
, gettext
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, wrapGAppsHook4
, gnome
}:
stdenv.mkDerivation rec {
pname = "d-spy";
version = "1.10.0";
outputs = [ "out" "lib" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/d-spy/${lib.versions.majorMinor version}/d-spy-${version}.tar.xz";
hash = "sha256-VVgSucZUBVHaWZ7oFHiArTkVuTyH4XV7bRz9kKDgXlM=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
desktop-file-utils
wrapGAppsHook4
gettext
glib
];
buildInputs = [
glib
gtk4
libadwaita
];
passthru = {
updateScript = gnome.updateScript {
packageName = "d-spy";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "D-Bus exploration tool";
mainProgram = "d-spy";
homepage = "https://gitlab.gnome.org/GNOME/d-spy";
license = with licenses; [
lgpl3Plus # library
gpl3Plus # app
];
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}