mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
xfce4-screenshooter: use wrapGAppsHook instead of makeWrapper
This commit is contained in:
parent
82a1c372af
commit
f3eb5950a2
@ -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 New Issue
Block a user