nixpkgs-suyu/pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix

25 lines
696 B
Nix
Raw Normal View History

2017-10-04 23:50:14 +02:00
{ stdenv, meson, ninja, gettext, fetchurl
, pkgconfig, gtk3, glib, libxml2
, wrapGAppsHook, gnome3 }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
doCheck = true;
2017-10-04 23:50:14 +02:00
checkPhase = "meson test";
2017-10-04 23:50:14 +02:00
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook libxml2 ];
buildInputs = [ gtk3 glib gnome3.gnome_desktop gnome3.defaultIconTheme ];
2017-10-04 23:50:14 +02:00
# Do not run meson-postinstall.sh
preConfigure = "sed -i '2,$ d' meson-postinstall.sh";
meta = with stdenv.lib; {
description = "Program that can preview fonts and create thumbnails for fonts";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}