yelp: clean up

This commit is contained in:
Jan Tojnar 2018-03-22 20:17:10 +01:00
parent 060e6aab52
commit 087ca0ca24
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,6 @@
{ stdenv, intltool, fetchurl, webkitgtk, pkgconfig, gtk3, glib { stdenv, intltool, fetchurl, webkitgtk, pkgconfig, gtk3, glib
, file, librsvg, gnome3, gdk_pixbuf, sqlite, groff , gnome3, sqlite
, bash, makeWrapper, itstool, libxml2, libxslt, icu, gst_all_1 , itstool, libxml2, libxslt, gst_all_1
, wrapGAppsHook }: , wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,21 +12,20 @@ stdenv.mkDerivation rec {
sha256 = "05qzczxnxk374cp4an166gv60nkbd0jq3pp2fwy7s9rnkm55jz6v"; sha256 = "05qzczxnxk374cp4an166gv60nkbd0jq3pp2fwy7s9rnkm55jz6v";
}; };
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 = { passthru = {
updateScript = gnome3.updateScript { packageName = "yelp"; }; updateScript = gnome3.updateScript {
packageName = "yelp";
};
}; };
propagatedUserEnvPkgs = [ gnome3.gnome-themes-standard ];
preConfigure = "substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk3 glib webkitgtk intltool itstool sqlite
libxml2 libxslt icu file makeWrapper gnome3.yelp-xsl
librsvg gdk_pixbuf gnome3.defaultIconTheme groff
gnome3.gsettings-desktop-schemas wrapGAppsHook
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Yelp; homepage = https://wiki.gnome.org/Apps/Yelp;
description = "The help viewer in Gnome"; description = "The help viewer in Gnome";