3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/sushi/default.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, meson, gettext, gobject-introspection, glib
, clutter-gtk, clutter-gst, gnome3, gtksourceview, gjs
2018-09-05 01:52:36 +01:00
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
2019-05-22 12:03:39 +01:00
, gdk-pixbuf, librsvg, gtk3, harfbuzz, ninja }:
stdenv.mkDerivation rec {
pname = "sushi";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj";
};
nativeBuildInputs = [
pkgconfig meson ninja gettext gobject-introspection wrapGAppsHook
];
2018-09-05 01:52:36 +01:00
buildInputs = [
glib gtk3 gnome3.evince icu harfbuzz
2019-05-22 12:03:39 +01:00
clutter-gtk clutter-gst gjs gtksourceview gdk-pixbuf
2018-09-05 01:52:36 +01:00
librsvg libmusicbrainz5 webkitgtk
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
2018-09-05 01:52:36 +01:00
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;
};
}