gnome3.gnome-characters: fix build

This commit is contained in:
Tor Hedin Brønner 2018-03-14 19:37:33 +01:00 committed by Jan Tojnar
parent 174a82141c
commit 2c894fb147
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3, glib, gtk3, pango, wrapGAppsHook
, gobjectIntrospection, gjs, gdk_pixbuf, librsvg }:
, gobjectIntrospection, gjs, gdk_pixbuf, librsvg, libunistring }:
stdenv.mkDerivation rec {
name = "gnome-characters-${version}";
@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "14q92ysg7krawxlwv6ymgsxz2plk81wgfz6knlma7lm13jsczmf0";
};
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-characters";
@ -18,7 +23,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook gobjectIntrospection ];
buildInputs = [ glib gtk3 gjs pango gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme ];
buildInputs = [ glib gtk3 gjs pango gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme libunistring ];
mesonFlags = [
"-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/services"