2018-09-03 22:07:30 +02:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3, glib, gtk3, pango, wrapGAppsHook, python3
|
2019-02-13 22:47:50 +01:00
|
|
|
, gobject-introspection, gjs, libunistring, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gnome-characters-${version}";
|
2018-09-05 02:45:40 +02:00
|
|
|
version = "3.30.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/gnome-characters/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 02:45:40 +02:00
|
|
|
sha256 = "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-03-14 19:37:33 +01:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson_post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
passthru = {
|
2018-03-14 01:47:20 +01:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-characters";
|
|
|
|
attrPath = "gnome3.gnome-characters";
|
|
|
|
};
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook python3 gobject-introspection ];
|
2018-11-14 23:13:38 +01:00
|
|
|
buildInputs = [
|
2019-02-13 22:47:50 +01:00
|
|
|
glib gtk3 gjs pango gsettings-desktop-schemas
|
|
|
|
adwaita-icon-theme libunistring
|
2018-11-14 23:13:38 +01:00
|
|
|
# typelib
|
2019-02-13 22:47:50 +01:00
|
|
|
gnome-desktop
|
2018-11-14 23:13:38 +01:00
|
|
|
];
|
2018-03-14 14:14:11 +01:00
|
|
|
|
|
|
|
mesonFlags = [
|
2018-04-26 22:59:34 +02:00
|
|
|
"-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/services"
|
2016-09-18 21:35:23 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Design/Apps/CharacterMap;
|
|
|
|
description = "Simple utility application to find and insert unusual characters";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|