3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/d-feet/default.nix

83 lines
1.5 KiB
Nix
Raw Normal View History

{ lib
, pkg-config
, fetchurl
, meson
, ninja
, glib
, gtk3
, python3
, wrapGAppsHook
, gnome
, libwnck3
, gobject-introspection
, gettext
, itstool
}:
2014-01-05 11:55:34 +00:00
python3.pkgs.buildPythonApplication rec {
2018-03-29 10:28:29 +01:00
pname = "d-feet";
2021-05-13 20:11:07 +01:00
version = "0.3.16";
format = "other";
2014-01-05 11:55:34 +00:00
src = fetchurl {
url = "mirror://gnome/sources/d-feet/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-05-13 20:11:07 +01:00
sha256 = "hzPOS5qaVOwYWx2Fv02p2dEQUogqiAdg/2D5d5stHMs=";
2014-01-05 11:55:34 +00:00
};
nativeBuildInputs = [
gettext
gobject-introspection
itstool
meson
ninja
pkg-config
python3
wrapGAppsHook
];
buildInputs = [
glib
gnome.adwaita-icon-theme
gtk3
libwnck3
];
propagatedBuildInputs = with python3.pkgs; [
pygobject3
];
mesonFlags = [
"-Dtests=false" # needs dbus
];
2014-01-05 11:55:34 +00:00
# Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
2018-03-29 10:28:29 +01:00
passthru = {
updateScript = gnome.updateScript {
2018-03-29 10:28:29 +01:00
packageName = pname;
attrPath = "dfeet";
versionPolicy = "none";
};
};
meta = with lib; {
2014-01-05 11:55:34 +00:00
description = "D-Feet is an easy to use D-Bus debugger";
longDescription = ''
D-Feet can be used to inspect D-Bus interfaces of running programs
and invoke methods on those interfaces.
'';
homepage = "https://wiki.gnome.org/Apps/DFeet";
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = with maintainers; [ ktosiek ];
2014-01-05 11:55:34 +00:00
};
}