14 , gobject-introspection
28 , gsettings-desktop-schemas
33 stdenv.mkDerivation rec {
38 url = "mirror://gnome/sources/totem/${lib.versions.major version}/totem-${version}.tar.xz";
39 hash = "sha256-s202VZKLWJZGKk05+Dtq1m0328nJnc6wLqii43OUpB4=";
43 # Lower X11 dependency version since we do not have it.
45 url = "https://gitlab.gnome.org/GNOME/totem/-/commit/140d9eea70c3101ef3234abb4de5974cb84b13db.patch";
46 hash = "sha256-ohppxqMiH8Ksc9B2e3AXighfM6KVN+RNXYL+fLELSN8=";
50 url = "https://gitlab.gnome.org/GNOME/totem/-/commit/2610b4536f73493587e4a5a38e01c9961fcabb96.patch";
51 hash = "sha256-nPfzS+LQuAlyQOz67hCdtx93w2frhgWlg1KGX5bEU38=";
55 url = "https://gitlab.gnome.org/GNOME/totem/-/commit/5b871aee5292f25bbf39dca18045732e979e7a68.patch";
56 hash = "sha256-LqQLdgyZkIVc+/hQ5sdBLqhtjCVIMDSs9tjVXwMFodg=";
67 python3Packages.python
80 gst_all_1.gst-plugins-base
81 (gst_all_1.gst-plugins-good.override { gtkSupport = true; })
82 gst_all_1.gst-plugins-bad
83 gst_all_1.gst-plugins-ugly
93 gsettings-desktop-schemas
94 python3Packages.pygobject3
102 # TODO: https://github.com/NixOS/nixpkgs/issues/36468
103 "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
106 # Tests do not work with GStreamer 1.18.
107 # https://gitlab.gnome.org/GNOME/totem/-/issues/450
111 chmod +x meson_compile_python.py # patchShebangs requires executable file
113 ./meson_compile_python.py
119 xvfb-run -s '-screen 0 800x600x24' \
126 updateScript = gnome.updateScript {
127 packageName = "totem";
132 homepage = "https://apps.gnome.org/Totem/";
133 changelog = "https://gitlab.gnome.org/GNOME/totem/-/blob/${version}/NEWS?ref_type=tags";
134 description = "Movie player for the GNOME desktop based on GStreamer";
135 maintainers = teams.gnome.members;
136 license = licenses.gpl2Plus; # with exception to allow use of non-GPL compatible plug-ins
137 platforms = platforms.linux;