nixpkgs/pkgs/desktops/gnome-3/core/yelp/default.nix
2018-11-30 21:34:41 +01:00

37 lines
980 B
Nix

{ stdenv, intltool, fetchurl, webkitgtk, pkgconfig, gtk3, glib
, gnome3, sqlite
, itstool, libxml2, libxslt, gst_all_1
, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "yelp-${version}";
version = "3.30.0";
src = fetchurl {
url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "060a902j15k76fyhk8xfl38ipvrrcc0qd7nm2mcck4ifb45b0zv4";
};
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ];
buildInputs = [
gtk3 glib webkitgtk sqlite
libxml2 libxslt gnome3.yelp-xsl
gnome3.defaultIconTheme
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
passthru = {
updateScript = gnome3.updateScript {
packageName = "yelp";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Yelp;
description = "The help viewer in Gnome";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}