mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 03:57:58 +03:00
Merge pull request #318197 from getchoo/pkgs/showtime/init
showtime: init at 46.3
This commit is contained in:
commit
d049c8d1cc
68
pkgs/by-name/sh/showtime/package.nix
Normal file
68
pkgs/by-name/sh/showtime/package.nix
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
python3Packages,
|
||||||
|
fetchFromGitLab,
|
||||||
|
appstream,
|
||||||
|
blueprint-compiler,
|
||||||
|
desktop-file-utils,
|
||||||
|
glib,
|
||||||
|
gobject-introspection,
|
||||||
|
gst_all_1,
|
||||||
|
libadwaita,
|
||||||
|
meson,
|
||||||
|
ninja,
|
||||||
|
pkg-config,
|
||||||
|
wrapGAppsHook4,
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "showtime";
|
||||||
|
version = "46.3";
|
||||||
|
pyproject = false;
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
group = "GNOME";
|
||||||
|
owner = "Incubator";
|
||||||
|
repo = "showtime";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-0qT62VoodRcrxYNTtZk+KqxzhflxFU/HPtj2u0wRSH0=";
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
appstream
|
||||||
|
blueprint-compiler
|
||||||
|
desktop-file-utils
|
||||||
|
glib # for `glib-compile-schemas`
|
||||||
|
gobject-introspection
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook4
|
||||||
|
];
|
||||||
|
|
||||||
|
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
|
||||||
|
libadwaita
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = with python3Packages; [ pygobject3 ];
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "showtime" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Watch without distraction";
|
||||||
|
homepage = "https://apps.gnome.org/Showtime";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
|
mainProgram = "showtime";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user