From 97fbc54b2706c05012e37a05db2a2f22937c603b Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 8 Jun 2024 02:21:49 -0400 Subject: [PATCH] showtime: init at 0-unstable-2024-06-07 --- pkgs/by-name/sh/showtime/package.nix | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pkgs/by-name/sh/showtime/package.nix diff --git a/pkgs/by-name/sh/showtime/package.nix b/pkgs/by-name/sh/showtime/package.nix new file mode 100644 index 000000000000000..fcfe207de2eff08 --- /dev/null +++ b/pkgs/by-name/sh/showtime/package.nix @@ -0,0 +1,48 @@ +{ + lib, + python3Packages, + fetchFromGitLab, + blueprint-compiler, + gobject-introspection, + libadwaita, + meson, + ninja, + pkg-config, + wrapGAppsHook, +}: +python3Packages.buildPythonApplication { + pname = "showtime"; + version = "0-unstable-2024-06-07"; + + src = fetchFromGitLab { + owner = "GNOME/Incubator"; + repo = "showtime"; + rev = "9f3a96fe536a403e0d9f6557027b985a2eca18d6"; + hash = "sha256-r72GlbCXhiNN910TLbETt013wd8rumO8qkopd4W2Br4="; + domain = "gitlab.gnome.org"; + }; + + nativeBuildInputs = [ + blueprint-compiler + gobject-introspection + meson + ninja + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ libadwaita ]; + + dependencies = with python3Packages; [ pygobject3 ]; + + dontWrapGApps = true; + makeWrapperArgs = [ ''''${gappsWrapperArgs[@]}'' ]; + + meta = { + description = "Watch without distraction"; + homepage = "https://gitlab.gnome.org/GNOME/Incubator/showtime"; + mainProgram = "showtime"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ getchoo ]; + }; +}