2021-01-17 02:21:50 +00:00
|
|
|
{ lib, stdenv, gettext, fetchurl, webkitgtk, pkg-config, gtk3, glib
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome, sqlite
|
2018-03-22 19:17:10 +00:00
|
|
|
, itstool, libxml2, libxslt, gst_all_1
|
2016-09-18 20:35:23 +01:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "yelp";
|
2021-03-21 07:30:11 +00:00
|
|
|
version = "40.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";
|
|
|
|
sha256 = "sha256-B3dfoGzSg2Xs2Cm7FqhaaCiXqyHYzONFlrvvXNRVquA=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:21:50 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gettext itstool wrapGAppsHook ];
|
2018-03-22 19:17:10 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3 glib webkitgtk sqlite
|
2021-05-07 22:18:14 +01:00
|
|
|
libxml2 libxslt gnome.yelp-xsl
|
|
|
|
gnome.adwaita-icon-theme
|
2018-03-22 19:17:10 +00:00
|
|
|
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|