2014-01-05 12:55:34 +01:00
|
|
|
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
|
2017-12-13 13:32:46 +01:00
|
|
|
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobjectIntrospection }:
|
2014-01-05 12:55:34 +01:00
|
|
|
|
|
|
|
let
|
2018-03-29 11:28:29 +02:00
|
|
|
pname = "d-feet";
|
|
|
|
version = "0.3.13";
|
2017-11-28 02:27:42 +01:00
|
|
|
in python3Packages.buildPythonApplication rec {
|
2018-03-29 11:28:29 +02:00
|
|
|
name = "${pname}-${version}";
|
2017-03-21 13:01:17 +01:00
|
|
|
format = "other";
|
2014-01-05 12:55:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-29 11:28:29 +02:00
|
|
|
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2017-11-28 02:29:25 +01:00
|
|
|
sha256 = "1md3lzs55sg04ds69dbginpxqvgg3qnf1lfx3vmsxph6bbd2y6ll";
|
2014-01-05 12:55:34 +01:00
|
|
|
};
|
|
|
|
|
2017-11-28 02:26:59 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
|
2017-12-13 13:32:46 +01:00
|
|
|
buildInputs = [ glib gtk3 gnome3.defaultIconTheme libwnck3 gobjectIntrospection ];
|
2014-01-05 12:55:34 +01:00
|
|
|
|
2017-11-28 02:27:42 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
|
2016-09-25 23:00:08 +02:00
|
|
|
|
2018-03-29 11:28:29 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "dfeet";
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-05 12:55:34 +01: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.
|
|
|
|
'';
|
|
|
|
|
2018-03-29 11:28:29 +02:00
|
|
|
homepage = https://wiki.gnome.org/Apps/DFeet;
|
2014-01-06 00:48:23 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2015-06-24 20:57:03 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-01-06 00:48:23 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
|
2014-01-05 12:55:34 +01:00
|
|
|
};
|
|
|
|
}
|