35 stdenv.mkDerivation rec {
46 url = "mirror://gnome/sources/cheese/${lib.versions.major version}/cheese-${version}.tar.xz";
47 hash = "sha256-XyGFxMmeVN3yuLr2DIKBmVDlSVLhMuhjmHXz7cv49o4=";
58 libxslt # for xsltproc
64 glib # for glib-compile-schemas
73 gst_all_1.gst-plugins-bad
74 gst_all_1.gst-plugins-base
75 gst_all_1.gst-plugins-good
79 pipewire # PipeWire provides a gstreamer plugin for using PipeWire for video
82 propagatedBuildInputs = [
92 --prefix XDG_DATA_DIRS : "${gnome-video-effects}/share"
94 --prefix GST_PRESET_PATH : "${gst_all_1.gst-plugins-good}/share/gstreamer-1.0/presets"
96 --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
97 --prefix XDG_DATA_DIRS : "${totem}/share"
102 # ../libcheese/cheese-flash.c:135:22: error: assignment to 'GtkWidget *' {aka 'struct _GtkWidget *'} from
103 # incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
104 env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
107 updateScript = gnome.updateScript {
108 packageName = "cheese";
113 homepage = "https://gitlab.gnome.org/GNOME/cheese";
114 changelog = "https://gitlab.gnome.org/GNOME/cheese/-/blob/${version}/NEWS?ref_type=tags";
115 description = "Take photos and videos with your webcam, with fun graphical effects";
116 mainProgram = "cheese";
117 maintainers = with maintainers; [ aleksana ];
118 license = licenses.gpl2Plus;
119 platforms = platforms.linux;