2014-01-05 11:55:34 +00:00
|
|
|
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
|
2016-09-25 22:00:08 +01:00
|
|
|
, pythonPackages, makeWrapper, gnome3, libwnck3 }:
|
2014-01-05 11:55:34 +00:00
|
|
|
|
|
|
|
let
|
2017-11-06 14:40:12 +00:00
|
|
|
version = "${major}.12";
|
2014-01-05 11:55:34 +00:00
|
|
|
major = "0.3";
|
2017-03-21 12:01:17 +00:00
|
|
|
in pythonPackages.buildPythonApplication rec {
|
2014-01-05 11:55:34 +00:00
|
|
|
name = "d-feet-${version}";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2014-01-05 11:55:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/d-feet/${major}/d-feet-${version}.tar.xz";
|
2017-11-06 14:40:12 +00:00
|
|
|
sha256 = "054hl56rii9ff7rzl42h7993ywjbxmhlcd7bk8fi1c2bx98c6s68";
|
2014-01-05 11:55:34 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxml2 itstool intltool glib gtk3
|
2016-09-25 22:00:08 +01:00
|
|
|
gnome3.defaultIconTheme makeWrapper libwnck3
|
2014-01-05 11:55:34 +00:00
|
|
|
];
|
|
|
|
|
2016-09-25 22:00:08 +01:00
|
|
|
propagatedBuildInputs = with pythonPackages; [ pygobject3 pep8 ];
|
|
|
|
|
2014-07-05 10:42:41 +01:00
|
|
|
preFixup =
|
2014-01-05 11:55:34 +00:00
|
|
|
''
|
|
|
|
wrapProgram $out/bin/d-feet \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
2014-07-05 10:42:41 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share"
|
2014-01-05 11:55:34 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
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/action/show/Apps/DFeet;
|
2014-01-05 23:48:23 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2015-06-24 19:57:03 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-01-05 23:48:23 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
|
2014-01-05 11:55:34 +00:00
|
|
|
};
|
|
|
|
}
|