1ae19b6c4e
- Gucharmap no longer follow the GNOME major versioning. - Gucharmap no longer includes Unicode data. Instead the data should be downloaded from unicode.org.
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ stdenv, intltool, fetchurl, pkgconfig, gtk3
|
|
, glib, desktop_file_utils, bash, appdata-tools
|
|
, wrapGAppsHook, gnome3, itstool, libxml2
|
|
, callPackage, unzip }:
|
|
|
|
# TODO: icons and theme still does not work
|
|
# use packaged gnome3.adwaita-icon-theme
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
doCheck = true;
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
preConfigure = "patchShebangs gucharmap/gen-guch-unicode-tables.pl";
|
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook unzip ];
|
|
|
|
buildInputs = [ gtk3 intltool itstool glib appdata-tools
|
|
gnome3.yelp_tools libxml2 desktop_file_utils
|
|
gnome3.gsettings_desktop_schemas ];
|
|
|
|
unicode-data = callPackage ./unicode-data.nix {};
|
|
|
|
configureFlags = "--with-unicode-data=${unicode-data}";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Gucharmap;
|
|
description = "GNOME Character Map, based on the Unicode Character Database";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|