nixpkgs-suyu/pkgs/desktops/gnome-3/core/sushi/default.nix
2019-07-22 18:50:57 -04:00

39 lines
1.2 KiB
Nix

{ stdenv, fetchurl, pkgconfig, meson, gettext, gobject-introspection, glib
, clutter-gtk, clutter-gst, gnome3, gtksourceview, gjs
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
, gdk-pixbuf, librsvg, gtk3, harfbuzz, ninja }:
stdenv.mkDerivation rec {
name = "sushi-${version}";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj";
};
nativeBuildInputs = [
pkgconfig meson ninja gettext gobject-introspection 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
];
passthru = {
updateScript = gnome3.updateScript {
packageName = "sushi";
attrPath = "gnome3.sushi";
};
};
meta = with stdenv.lib; {
homepage = "https://en.wikipedia.org/wiki/Sushi_(software)";
description = "A quick previewer for Nautilus";
maintainers = gnome3.maintainers;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}