depot/pkgs/by-name/ye/yelp/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

64 lines
1 KiB
Nix

{ lib
, stdenv
, gettext
, fetchurl
, webkitgtk_4_1
, pkg-config
, gtk3
, libhandy
, glib
, gnome
, adwaita-icon-theme
, sqlite
, itstool
, libxml2
, libxslt
, gst_all_1
, wrapGAppsHook3
, yelp-xsl
}:
stdenv.mkDerivation rec {
pname = "yelp";
version = "42.2";
src = fetchurl {
url = "mirror://gnome/sources/yelp/${lib.versions.major version}/yelp-${version}.tar.xz";
hash = "sha256-osX9B4epCJxyLMZr0Phc33CI2HDntsyFeZ+OW/+erEs=";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
wrapGAppsHook3
];
buildInputs = [
gtk3
libhandy
glib
webkitgtk_4_1
sqlite
libxml2
libxslt
yelp-xsl
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://apps.gnome.org/Yelp/";
description = "Help viewer in Gnome";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}