dfeet: fix icons

This commit is contained in:
Luca Bruno 2014-07-05 11:42:41 +02:00
parent 6365987e53
commit ac711a705e
2 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,6 @@
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
, pango, gdk_pixbuf, atk, pep8, python, makeWrapper
, pygobject3, gobjectIntrospection, libwnck3
, gnome_icon_theme }:
, pango, gdk_pixbuf, atk, pep8, python, makeWrapper, gnome3
, pygobject3, gobjectIntrospection, libwnck3 }:
let
version = "${major}.8";
@ -18,16 +17,19 @@ stdenv.mkDerivation rec {
buildInputs = [
pkgconfig libxml2 itstool intltool glib gtk3 pep8 python
gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic
makeWrapper pygobject3 libwnck3
];
postInstall =
preFixup =
''
wrapProgram $out/bin/d-feet \
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pygobject3})" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix LD_LIBRARY_PATH : "${gtk3}/lib:${atk}/lib:${libwnck3}/lib" \
--prefix XDG_DATA_DIRS : "${gnome_icon_theme}/share:$out/share"
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$out/share"
rm $out/share/icons/hicolor/icon-theme.cache
'';
meta = {

View file

@ -3869,7 +3869,6 @@ let
dfeet = callPackage ../development/tools/misc/d-feet {
inherit (pythonPackages) pep8;
inherit (gnome3) gnome_icon_theme;
};
dfu-programmer = callPackage ../development/tools/misc/dfu-programmer { };