24 lines
696 B
Nix
24 lines
696 B
Nix
{ stdenv, meson, ninja, gettext, fetchurl
|
|
, pkgconfig, gtk3, glib, libxml2
|
|
, wrapGAppsHook, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = "meson test";
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook libxml2 ];
|
|
buildInputs = [ gtk3 glib gnome3.gnome_desktop gnome3.defaultIconTheme ];
|
|
|
|
# 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;
|
|
};
|
|
}
|