gnome3.file-roller: fix build
This commit is contained in:
parent
74c5f0df9c
commit
2df1eee63a
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, glib, pkgconfig, gnome3, intltool, itstool, libxml2, libarchive
|
{ stdenv, fetchurl, glib, gtk, meson, ninja, pkgconfig, gnome3, gettext, itstool, libxml2, libarchive
|
||||||
, attr, bzip2, acl, wrapGAppsHook, librsvg, gdk_pixbuf, libnotify, nautilus }:
|
, file, json-glib, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "file-roller-${version}";
|
name = "file-roller-${version}";
|
||||||
@ -10,21 +10,30 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1";
|
sha256 = "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
LANG = "en_US.UTF-8"; # postinstall.py
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 wrapGAppsHook glibcLocales desktop-file-utils ];
|
||||||
|
|
||||||
|
buildInputs = [ glib gtk json-glib libarchive file gnome3.defaultIconTheme libnotify nautilus ];
|
||||||
|
|
||||||
|
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x postinstall.py # patchShebangs requires executable file
|
||||||
|
patchShebangs postinstall.py
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript { packageName = "file-roller"; attrPath = "gnome3.file-roller"; };
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "file-roller";
|
||||||
|
attrPath = "gnome3.file-roller";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
|
||||||
|
|
||||||
buildInputs = [ glib gnome3.gtk intltool itstool libxml2 libarchive
|
|
||||||
gnome3.defaultIconTheme attr bzip2 acl gdk_pixbuf librsvg
|
|
||||||
gnome3.dconf libnotify nautilus ];
|
|
||||||
|
|
||||||
installFlags = [ "nautilus_extensiondir=$(out)/lib/nautilus/extensions-3.0" ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/FileRoller;
|
homepage = https://wiki.gnome.org/Apps/FileRoller;
|
||||||
description = "Archive manager for the GNOME desktop environment";
|
description = "Archive manager for the GNOME desktop environment";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user