nixpkgs/pkgs/development/tools/misc/d-feet/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

2014-01-05 11:55:34 +00:00
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
2015-09-28 22:59:27 +00:00
, pep8, python, makeWrapper, gnome3, pygobject3, libwnck3 }:
2014-01-05 11:55:34 +00:00
let
version = "${major}.10";
2014-01-05 11:55:34 +00:00
major = "0.3";
in
stdenv.mkDerivation rec {
name = "d-feet-${version}";
src = fetchurl {
url = "mirror://gnome/sources/d-feet/${major}/d-feet-${version}.tar.xz";
sha256 = "88f0df5fcb862387ff3d1793873c5eb368c3e4db0bbd82ea65f748cbf70a6359";
2014-01-05 11:55:34 +00:00
};
buildInputs = [
pkgconfig libxml2 itstool intltool glib gtk3 pep8 python
2015-09-28 22:59:27 +00:00
gnome3.defaultIconTheme makeWrapper pygobject3 libwnck3
2014-01-05 11:55:34 +00:00
];
2014-07-05 09:42:41 +00:00
preFixup =
2014-01-05 11:55:34 +00:00
''
wrapProgram $out/bin/d-feet \
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
2014-07-05 09:42:41 +00: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;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
2014-01-05 11:55:34 +00:00
};
}