nixpkgs/pkgs/desktops/gnome-3/core/yelp/default.nix

37 lines
978 B
Nix
Raw Normal View History

2021-01-17 02:21:50 +00:00
{ lib, stdenv, gettext, fetchurl, webkitgtk, pkg-config, gtk3, glib
2018-03-22 19:17:10 +00:00
, gnome3, sqlite
, itstool, libxml2, libxslt, gst_all_1
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "yelp";
version = "3.38.1";
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/yelp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "102z8khj82vdp12c3y86hhxwm1x89xpkpc5zs63c7gg21cbrwdbl";
};
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
libxml2 libxslt gnome3.yelp-xsl
2019-02-13 21:47:50 +00:00
gnome3.adwaita-icon-theme
2018-03-22 19:17:10 +00:00
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
passthru = {
2018-03-22 19:17:10 +00:00
updateScript = gnome3.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;
};
}