Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv
2, lib
3, desktop-file-utils
4, fetchurl
5, glib
6, gettext
7, gtk4
8, libadwaita
9, meson
10, ninja
11, pkg-config
12, wrapGAppsHook4
13, gnome
14}:
15
16stdenv.mkDerivation rec {
17 pname = "d-spy";
18 version = "1.6.0";
19
20 outputs = [ "out" "lib" "dev" ];
21
22 src = fetchurl {
23 url = "mirror://gnome/sources/d-spy/${lib.versions.majorMinor version}/d-spy-${version}.tar.xz";
24 sha256 = "otCiEFE7tGRw0A40VEeRIIMwFT9Ms0+FhxcpEaxPiv0=";
25 };
26
27 nativeBuildInputs = [
28 meson
29 ninja
30 pkg-config
31 desktop-file-utils
32 wrapGAppsHook4
33 gettext
34 glib
35 ];
36
37 buildInputs = [
38 glib
39 gtk4
40 libadwaita
41 ];
42
43 passthru = {
44 updateScript = gnome.updateScript {
45 packageName = "d-spy";
46 };
47 };
48
49 meta = with lib; {
50 description = "D-Bus exploration tool";
51 homepage = "https://gitlab.gnome.org/GNOME/d-spy";
52 license = with licenses; [
53 lgpl3Plus # library
54 gpl3Plus # app
55 ];
56 maintainers = teams.gnome.members;
57 platforms = platforms.linux;
58 };
59}