dfeet: cleanup

This commit is contained in:
Jan Tojnar 2017-11-28 02:26:59 +01:00
parent 81143b67aa
commit ece775c1d4

View File

@ -1,5 +1,5 @@
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3 { stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
, pythonPackages, makeWrapper, gnome3, libwnck3 }: , pythonPackages, wrapGAppsHook, gnome3, libwnck3 }:
let let
version = "${major}.12"; version = "${major}.12";
@ -13,20 +13,11 @@ in pythonPackages.buildPythonApplication rec {
sha256 = "054hl56rii9ff7rzl42h7993ywjbxmhlcd7bk8fi1c2bx98c6s68"; sha256 = "054hl56rii9ff7rzl42h7993ywjbxmhlcd7bk8fi1c2bx98c6s68";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
buildInputs = [ libxml2 itstool intltool glib gtk3 buildInputs = [ glib gtk3 gnome3.defaultIconTheme libwnck3 ];
gnome3.defaultIconTheme makeWrapper libwnck3
];
propagatedBuildInputs = with pythonPackages; [ pygobject3 pep8 ]; propagatedBuildInputs = with pythonPackages; [ pygobject3 pep8 ];
preFixup =
''
wrapProgram $out/bin/d-feet \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share"
'';
meta = { meta = {
description = "D-Feet is an easy to use D-Bus debugger"; description = "D-Feet is an easy to use D-Bus debugger";