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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, gettext
, fetchurl
, webkitgtk
, pkg-config
, gtk3
, libhandy
, glib
, gnome
, sqlite
, itstool
, libxml2
, libxslt
, gst_all_1
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "yelp";
version = "42.0";
src = fetchurl {
2021-03-21 07:30:11 +00:00
url = "mirror://gnome/sources/yelp/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "sha256-IIglVqnF29MHWTAkXnA3HGusMOqnpe0Jx9sSfNogE/c=";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
wrapGAppsHook
];
2018-03-22 19:17:10 +00:00
buildInputs = [
gtk3
libhandy
glib
webkitgtk
sqlite
libxml2
libxslt
gnome.yelp-xsl
gnome.adwaita-icon-theme
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
2018-03-22 19:17:10 +00:00
];
# To reduce the GNOME ISO closure size. Remove when other packages
# are using webkit2gtk_4_1.
configureFlags = ["--with-webkit2gtk-4-0"];
passthru = {
updateScript = gnome.updateScript {
2018-03-22 19:17:10 +00:00
packageName = "yelp";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Yelp";
description = "The help viewer in Gnome";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}