5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
36 lines
980 B
Nix
36 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.28.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "033w5qnhm495pnvscnb3k2dagzgq4fsnzcrh0k2rgr10mw2mv2p8";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|