46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
40 lines
1.2 KiB
Nix
40 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 {
|
|
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
|
|
];
|
|
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;
|
|
};
|
|
}
|