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

43 lines
1.3 KiB
Nix
Raw Normal View History

2014-01-05 11:55:34 +00:00
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobject-introspection }:
2014-01-05 11:55:34 +00:00
let
2018-03-29 10:28:29 +01:00
pname = "d-feet";
version = "0.3.14";
2017-11-28 01:27:42 +00:00
in python3Packages.buildPythonApplication rec {
2018-03-29 10:28:29 +01:00
name = "${pname}-${version}";
format = "other";
2014-01-05 11:55:34 +00:00
src = fetchurl {
2018-03-29 10:28:29 +01:00
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f";
2014-01-05 11:55:34 +00:00
};
2017-11-28 01:26:59 +00:00
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
2019-02-13 21:47:50 +00:00
buildInputs = [ glib gtk3 gnome3.adwaita-icon-theme libwnck3 gobject-introspection ];
2014-01-05 11:55:34 +00:00
2017-11-28 01:27:42 +00:00
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
2018-03-29 10:28:29 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "dfeet";
versionPolicy = "none";
};
};
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.
'';
2018-03-29 10:28:29 +01:00
homepage = https://wiki.gnome.org/Apps/DFeet;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
2014-01-05 11:55:34 +00:00
};
}