3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome/core/gnome-dictionary/default.nix

37 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, desktop-file-utils, appstream-glib, libxslt
2017-10-04 22:50:14 +01:00
, libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43
, gnome, gtk3, glib, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
pname = "gnome-dictionary";
version = "40.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f";
};
doCheck = true;
2018-03-22 18:55:12 +00:00
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
meson ninja pkg-config wrapGAppsHook libxml2 gettext itstool
2018-03-22 18:55:12 +00:00
desktop-file-utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43
];
buildInputs = [ gtk3 glib gsettings-desktop-schemas gnome.adwaita-icon-theme ];
2017-10-04 22:50:14 +01:00
2018-03-22 18:55:12 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-22 18:55:12 +00:00
packageName = "gnome-dictionary";
attrPath = "gnome.gnome-dictionary";
2018-03-22 18:55:12 +00:00
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Dictionary";
description = "Dictionary is the GNOME application to look up definitions";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}