nixpkgs/pkgs/desktops/gnome-3/core/sushi/default.nix
Tor Hedin Brønner e026e259f3
gnome3.sushi: 3.30.0 -> 3.32.0
- port to meson
- replace intltool with gettext
- remove no longer leaky dependencies
2019-04-05 11:40:20 +02:00

42 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.0";
src = fetchurl {
url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0f1i8qp39gq749h90f7nwgrj4q6y55jnyh62n1v8hxvlk0b2wqnx";
};
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
];
enableParallelBuilding = true;
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;
};
}