2018-03-14 14:14:11 +01:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3, glib, gtk3, pango, wrapGAppsHook
|
2018-03-14 01:47:20 +01:00
|
|
|
, gobjectIntrospection, gjs, gdk_pixbuf, librsvg }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gnome-characters-${version}";
|
2018-03-13 02:03:18 +01:00
|
|
|
version = "3.28.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-characters/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 02:03:18 +01:00
|
|
|
sha256 = "14q92ysg7krawxlwv6ymgsxz2plk81wgfz6knlma7lm13jsczmf0";
|
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-03-14 14:14:11 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook gobjectIntrospection ];
|
|
|
|
buildInputs = [ glib gtk3 gjs pango gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme ];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-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;
|
|
|
|
};
|
|
|
|
}
|