tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
makemkv: reformat according to RFC166
John Chadwick
2 years ago
65124175
ea146ade
+35
-21
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
makemkv
default.nix
+35
-21
pkgs/applications/video/makemkv/default.nix
···
1
1
-
{ lib
2
2
-
, mkDerivation
3
3
-
, fetchurl
4
4
-
, autoPatchelfHook
5
5
-
, pkg-config
6
6
-
, curl
7
7
-
, ffmpeg
8
8
-
, openssl
9
9
-
, qtbase
10
10
-
, zlib
1
1
+
{
2
2
+
lib,
3
3
+
mkDerivation,
4
4
+
fetchurl,
5
5
+
autoPatchelfHook,
6
6
+
pkg-config,
7
7
+
curl,
8
8
+
ffmpeg,
9
9
+
openssl,
10
10
+
qtbase,
11
11
+
zlib,
11
12
12
12
-
, withJava ? true
13
13
-
, jre_headless
13
13
+
withJava ? true,
14
14
+
jre_headless,
14
15
}:
15
16
16
17
let
···
30
31
];
31
32
sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM=";
32
33
};
33
33
-
34
34
-
in mkDerivation {
34
34
+
in
35
35
+
mkDerivation {
35
36
pname = "makemkv";
36
37
inherit version;
37
38
38
38
-
srcs = [ src_bin src_oss ];
39
39
+
srcs = [
40
40
+
src_bin
41
41
+
src_oss
42
42
+
];
39
43
40
44
sourceRoot = "makemkv-oss-${version}";
41
45
···
43
47
44
48
enableParallelBuilding = true;
45
49
46
46
-
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
50
50
+
nativeBuildInputs = [
51
51
+
autoPatchelfHook
52
52
+
pkg-config
53
53
+
];
47
54
48
48
-
buildInputs = [ ffmpeg openssl qtbase zlib ];
55
55
+
buildInputs = [
56
56
+
ffmpeg
57
57
+
openssl
58
58
+
qtbase
59
59
+
zlib
60
60
+
];
49
61
50
62
runtimeDependencies = [ (lib.getLib curl) ];
51
63
52
64
qtWrapperArgs =
53
65
let
54
66
binPath = lib.makeBinPath [ jre_headless ];
55
55
-
in lib.optionals withJava [
56
56
-
"--prefix PATH : ${binPath}"
57
57
-
];
67
67
+
in
68
68
+
lib.optionals withJava [ "--prefix PATH : ${binPath}" ];
58
69
59
70
installPhase = ''
60
71
runHook preInstall
···
84
95
expiration date.
85
96
'';
86
97
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
87
87
-
license = [ licenses.unfree licenses.lgpl21 ];
98
98
+
license = [
99
99
+
licenses.unfree
100
100
+
licenses.lgpl21
101
101
+
];
88
102
homepage = "http://makemkv.com";
89
103
platforms = [ "x86_64-linux" ];
90
104
maintainers = with maintainers; [ ];