forked from mirrors/nixpkgs
Merge pull request #72096 from jtojnar/sushi-fix
gnome3.sushi: fix module loading
This commit is contained in:
commit
7ce9e536ae
|
@ -1,7 +1,27 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, meson, gettext, gobject-introspection, glib
|
{ stdenv
|
||||||
, clutter-gtk, clutter-gst, gnome3, gtksourceview4, gjs
|
, fetchurl
|
||||||
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
|
, pkgconfig
|
||||||
, gdk-pixbuf, librsvg, gtk3, harfbuzz, ninja, epoxy }:
|
, meson
|
||||||
|
, gettext
|
||||||
|
, gobject-introspection
|
||||||
|
, glib
|
||||||
|
, clutter-gtk
|
||||||
|
, clutter-gst
|
||||||
|
, gnome3
|
||||||
|
, gtksourceview4
|
||||||
|
, gjs
|
||||||
|
, webkitgtk
|
||||||
|
, libmusicbrainz5
|
||||||
|
, icu
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gst_all_1
|
||||||
|
, gdk-pixbuf
|
||||||
|
, librsvg
|
||||||
|
, gtk3
|
||||||
|
, harfbuzz
|
||||||
|
, ninja
|
||||||
|
, epoxy
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sushi";
|
pname = "sushi";
|
||||||
|
@ -13,15 +33,42 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig meson ninja gettext gobject-introspection wrapGAppsHook
|
pkgconfig
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib gtk3 gnome3.evince icu harfbuzz
|
glib
|
||||||
clutter-gtk clutter-gst gjs gtksourceview4 gdk-pixbuf
|
gtk3
|
||||||
librsvg libmusicbrainz5 webkitgtk epoxy
|
gnome3.evince
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
icu
|
||||||
|
harfbuzz
|
||||||
|
clutter-gtk
|
||||||
|
clutter-gst
|
||||||
|
gjs
|
||||||
|
gtksourceview4
|
||||||
|
gdk-pixbuf
|
||||||
|
librsvg
|
||||||
|
libmusicbrainz5
|
||||||
|
webkitgtk
|
||||||
|
epoxy
|
||||||
|
gst_all_1.gstreamer
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# See https://github.com/NixOS/nixpkgs/issues/31168
|
||||||
|
postInstall = ''
|
||||||
|
for file in $out/libexec/org.gnome.NautilusPreviewer
|
||||||
|
do
|
||||||
|
sed -e $"2iimports.package._findEffectiveEntryPointName = () => \'$(basename $file)\' " \
|
||||||
|
-i $file
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = "sushi";
|
packageName = "sushi";
|
||||||
|
|
Loading…
Reference in a new issue