2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file, intltool, gobjectIntrospection, glib
|
2018-09-05 01:52:36 +01:00
|
|
|
, clutter-gtk, clutter-gst, gnome3, aspell, hspell, gtksourceview, gjs
|
|
|
|
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
|
2016-09-18 20:35:23 +01:00
|
|
|
, gdk_pixbuf, librsvg, gtk3, harfbuzz }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "sushi-${version}";
|
2018-09-05 01:52:36 +01:00
|
|
|
version = "3.30.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-09-05 01:52:36 +01:00
|
|
|
sha256 = "0zpaiw5r734fky3zq95a6szwn7srbkpixajqg2xvdivhhx4mbnnj";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-09-05 01:52:36 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig file intltool gobjectIntrospection wrapGAppsHook ];
|
|
|
|
buildInputs = [
|
|
|
|
glib gtk3 gnome3.evince icu harfbuzz
|
|
|
|
clutter-gtk clutter-gst gjs gtksourceview gdk_pixbuf
|
|
|
|
librsvg libmusicbrainz5 webkitgtk
|
|
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
|
|
|
# cannot find -laspell, -lhspell
|
|
|
|
aspell hspell
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-09-05 01:52:36 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "sushi";
|
|
|
|
attrPath = "gnome3.sushi";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = "https://en.wikipedia.org/wiki/Sushi_(software)";
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A quick previewer for Nautilus";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|