From 0e88eabaaa1d7aaf655c0dbc85a08c8feba5e9eb Mon Sep 17 00:00:00 2001 From: eljamm Date: Wed, 31 Jul 2024 12:20:23 +0100 Subject: [PATCH] penguin-subtitle-player: init at 1.6.0 --- .../pe/penguin-subtitle-player/package.nix | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/pe/penguin-subtitle-player/package.nix diff --git a/pkgs/by-name/pe/penguin-subtitle-player/package.nix b/pkgs/by-name/pe/penguin-subtitle-player/package.nix new file mode 100644 index 0000000000000..d2eb9306fd202 --- /dev/null +++ b/pkgs/by-name/pe/penguin-subtitle-player/package.nix @@ -0,0 +1,32 @@ +{ + lib, + stdenv, + fetchFromGitHub, + qt5, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "penguin-subtitle-player"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "carsonip"; + repo = "Penguin-Subtitle-Player"; + rev = "v${finalAttrs.version}"; + hash = "sha256-AhdShg/eWqF44W1r+KmcHzbGKF2TNSD/wPKj+x4oQkM="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ qt5.wrapQtAppsHook ]; + + buildInputs = [ qt5.qmake ]; + + meta = { + description = "Open-source, cross-platform and standalone subtitle player"; + homepage = "https://github.com/carsonip/Penguin-Subtitle-Player"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ eljamm ]; + platforms = lib.platforms.all; + mainProgram = "PenguinSubtitlePlayer"; + }; +})