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