2019-08-24 21:15:23 +01:00
|
|
|
{ stdenv
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-24 21:15:23 +01:00
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, python3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gnome3
|
|
|
|
, libwnck3
|
|
|
|
, gobject-introspection
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
}:
|
2014-01-05 11:55:34 +00:00
|
|
|
|
2019-08-24 21:15:23 +01:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2018-03-29 10:28:29 +01:00
|
|
|
pname = "d-feet";
|
2019-08-24 21:15:23 +01:00
|
|
|
version = "0.3.15";
|
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2014-01-05 11:55:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-24 21:15:23 +01:00
|
|
|
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
|
2014-01-05 11:55:34 +00:00
|
|
|
};
|
|
|
|
|
2019-08-24 21:15:23 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-24 21:15:23 +01:00
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gtk3
|
|
|
|
libwnck3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygobject3
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dtests=false" # needs dbus
|
|
|
|
];
|
2014-01-05 11:55:34 +00:00
|
|
|
|
2019-08-24 21:15:23 +01: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
|
|
|
|
'';
|
2016-09-25 22:00:08 +01:00
|
|
|
|
2018-03-29 10:28:29 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "dfeet";
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-08-24 21:15:23 +01:00
|
|
|
meta = with stdenv.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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/DFeet";
|
2019-08-24 21:15:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ktosiek ];
|
2014-01-05 11:55:34 +00:00
|
|
|
};
|
|
|
|
}
|