nixpkgs/pkgs/desktops/gnome-3/core/gucharmap/default.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2018-03-15 00:42:01 +01:00
{ stdenv, intltool, fetchurl, pkgconfig, gtk3, defaultIconTheme
, glib, desktop-file-utils, bash, appdata-tools
, wrapGAppsHook, gnome3, itstool, libxml2
, callPackage, unzip, gobjectIntrospection }:
stdenv.mkDerivation rec {
name = "gucharmap-${version}";
2018-03-13 02:03:18 +01:00
version = "10.0.4";
src = fetchurl {
url = "mirror://gnome/sources/gucharmap/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-13 02:03:18 +01:00
sha256 = "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gucharmap"; };
};
doCheck = true;
preConfigure = "patchShebangs gucharmap/gen-guch-unicode-tables.pl";
nativeBuildInputs = [
pkgconfig wrapGAppsHook unzip intltool itstool appdata-tools
gnome3.yelp-tools libxml2 desktop-file-utils gobjectIntrospection
];
2018-03-15 00:42:01 +01:00
buildInputs = [ gtk3 glib gnome3.gsettings-desktop-schemas defaultIconTheme ];
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;
};
}