mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
xfce4-screenshooter: use wrapGAppsHook instead of makeWrapper
This commit is contained in:
parent
82a1c372af
commit
f3eb5950a2
1 changed files with 3 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, intltool, xfce4panel, libxfce4util, gtk, libsoup
|
||||
, makeWrapper, glib_networking, exo, hicolor_icon_theme }:
|
||||
, makeWrapper, glib_networking, exo, hicolor_icon_theme, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
p_name = "xfce4-screenshooter";
|
||||
|
@ -13,18 +13,13 @@ stdenv.mkDerivation rec {
|
|||
name = "${p_name}-${ver_maj}.${ver_min}";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig intltool makeWrapper
|
||||
pkgconfig intltool wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xfce4panel libxfce4util gtk libsoup exo hicolor_icon_theme
|
||||
xfce4panel libxfce4util gtk libsoup exo hicolor_icon_theme glib_networking
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/xfce4-screenshooter" \
|
||||
--prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://goodies.xfce.org/projects/applications/xfce4-screenshooter;
|
||||
description = "Xfce screenshooter";
|
||||
|
|
Loading…
Reference in a new issue