27 lines
946 B
Nix
27 lines
946 B
Nix
{ stdenv, fetchurl, meson, ninja, pkgconfig, desktop_file_utils, appstream-glib, libxslt
|
|
, libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43
|
|
, gnome3, gtk, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
doCheck = true;
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
propagatedBuildInputs = [ gnome3.defaultIconTheme ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig wrapGAppsHook libxml2 gettext itstool
|
|
desktop_file_utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43];
|
|
buildInputs = [ gtk glib gnome3.gsettings_desktop_schemas ];
|
|
|
|
checkPhase = "meson test";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Dictionary;
|
|
description = "Dictionary is the GNOME application to look up definitions";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|