1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 qt5,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "penguin-subtitle-player";
10 version = "1.6.0";
11
12 src = fetchFromGitHub {
13 owner = "carsonip";
14 repo = "Penguin-Subtitle-Player";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-AhdShg/eWqF44W1r+KmcHzbGKF2TNSD/wPKj+x4oQkM=";
17 fetchSubmodules = true;
18 };
19
20 nativeBuildInputs = [ qt5.wrapQtAppsHook ];
21
22 buildInputs = [ qt5.qmake ];
23
24 meta = {
25 description = "Open-source, cross-platform and standalone subtitle player";
26 homepage = "https://github.com/carsonip/Penguin-Subtitle-Player";
27 license = lib.licenses.gpl3Only;
28 maintainers = with lib.maintainers; [ eljamm ];
29 platforms = lib.platforms.all;
30 mainProgram = "PenguinSubtitlePlayer";
31 };
32})