nixpkgs/pkgs/development/tools/misc/d-spy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.0 KiB
Nix
Raw Normal View History

2022-03-26 17:33:57 +00:00
{ stdenv
, lib
, desktop-file-utils
, fetchurl
, glib
, gettext
2022-03-26 17:33:57 +00:00
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, wrapGAppsHook4
, gnome
}:
stdenv.mkDerivation rec {
pname = "d-spy";
version = "1.8.0";
2022-03-26 17:33:57 +00:00
outputs = [ "out" "lib" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/d-spy/${lib.versions.majorMinor version}/d-spy-${version}.tar.xz";
sha256 = "+J15XQaG2C2h3OsjYUj3zlTVynjwuY4PEzayY6WvzqE=";
2022-03-26 17:33:57 +00:00
};
nativeBuildInputs = [
meson
ninja
pkg-config
desktop-file-utils
wrapGAppsHook4
gettext
glib
2022-03-26 17:33:57 +00:00
];
buildInputs = [
glib
gtk4
libadwaita
];
passthru = {
updateScript = gnome.updateScript {
packageName = "d-spy";
versionPolicy = "odd-unstable";
2022-03-26 17:33:57 +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;
};
}