Skip to content

Commit 3cf4242

Browse files
penguin-subtitle-player: init at 1.6.0 (NixOS#331312)
2 parents 98add0b + 0e88eab commit 3cf4242

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
qt5,
6+
}:
7+
8+
stdenv.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+
})

0 commit comments

Comments
 (0)