diff options
Diffstat (limited to 'pkgs/desktops/gnome/core/yelp')
-rw-r--r-- | pkgs/desktops/gnome/core/yelp/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/core/yelp/default.nix b/pkgs/desktops/gnome/core/yelp/default.nix new file mode 100644 index 0000000000000..f4df80f5611f3 --- /dev/null +++ b/pkgs/desktops/gnome/core/yelp/default.nix @@ -0,0 +1,36 @@ +{ lib, stdenv, gettext, fetchurl, webkitgtk, pkg-config, gtk3, glib +, gnome, sqlite +, itstool, libxml2, libxslt, gst_all_1 +, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "yelp"; + version = "40.0"; + + src = fetchurl { + url = "mirror://gnome/sources/yelp/${lib.versions.major version}/${pname}-${version}.tar.xz"; + sha256 = "sha256-B3dfoGzSg2Xs2Cm7FqhaaCiXqyHYzONFlrvvXNRVquA="; + }; + + nativeBuildInputs = [ pkg-config gettext itstool wrapGAppsHook ]; + buildInputs = [ + gtk3 glib webkitgtk sqlite + libxml2 libxslt gnome.yelp-xsl + gnome.adwaita-icon-theme + gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good + ]; + + passthru = { + updateScript = gnome.updateScript { + 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; + }; +} |