summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-11-24 11:29:31 +0100
committerGitHub <noreply@github.com>2024-11-24 11:29:31 +0100
commit489bae575edb7a17cdc458e1cb6376edd6447651 (patch)
tree8555db23a279aa8742ad6eddb3baa3497ad7dcf6
parent[Backport release-24.11] nixos/incus: add incus-user service and socket (#356... (diff)
parentshowtime: 46.3 -> 47.0 (diff)
downloadnixpkgs-489bae575edb7a17cdc458e1cb6376edd6447651.tar.gz
[Backport release-24.11] showtime: 46.3 -> 47.0 (#357325)
-rw-r--r--pkgs/by-name/sh/showtime/package.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/by-name/sh/showtime/package.nix b/pkgs/by-name/sh/showtime/package.nix
index 1411121c0751..68945b8c27ab 100644
--- a/pkgs/by-name/sh/showtime/package.nix
+++ b/pkgs/by-name/sh/showtime/package.nix
@@ -1,40 +1,45 @@
{
lib,
- python3Packages,
- fetchFromGitLab,
appstream,
blueprint-compiler,
desktop-file-utils,
+ fetchFromGitLab,
glib,
gobject-introspection,
gst_all_1,
+ gtk4,
libadwaita,
meson,
ninja,
+ nix-update-script,
pkg-config,
+ python3Packages,
wrapGAppsHook4,
}:
python3Packages.buildPythonApplication rec {
pname = "showtime";
- version = "46.3";
+ version = "47.0";
pyproject = false;
src = fetchFromGitLab {
+ domain = "gitlab.gnome.org";
group = "GNOME";
owner = "Incubator";
repo = "showtime";
rev = "refs/tags/${version}";
- hash = "sha256-0qT62VoodRcrxYNTtZk+KqxzhflxFU/HPtj2u0wRSH0=";
- domain = "gitlab.gnome.org";
+ hash = "sha256-Bnz+LFyvwSjkrbePmoVZZqy2pNLqiyJTsZsSuUyDy+E=";
};
+ strictDeps = true;
+
nativeBuildInputs = [
appstream
blueprint-compiler
desktop-file-utils
- glib # for `glib-compile-schemas`
+ glib # For `glib-compile-schemas`
gobject-introspection
+ gtk4 # For `gtk-update-icon-cache`
meson
ninja
pkg-config
@@ -42,12 +47,12 @@ python3Packages.buildPythonApplication rec {
];
buildInputs = [
- gst_all_1.gstreamer
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-rs
gst_all_1.gst-plugins-ugly
+ gst_all_1.gstreamer
libadwaita
];
@@ -58,6 +63,10 @@ python3Packages.buildPythonApplication rec {
pythonImportsCheck = [ "showtime" ];
+ passthru = {
+ updateScript = nix-update-script { };
+ };
+
meta = {
description = "Watch without distraction";
homepage = "https://apps.gnome.org/Showtime";