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
-
{ lib
2
-
, mkDerivation
3
-
, fetchurl
4
-
, autoPatchelfHook
5
-
, pkg-config
6
-
, curl
7
-
, ffmpeg
8
-
, openssl
9
-
, qtbase
10
-
, zlib
0
11
12
-
, withJava ? true
13
-
, jre_headless
14
}:
15
16
let
···
30
];
31
sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM=";
32
};
33
-
34
-
in mkDerivation {
35
pname = "makemkv";
36
inherit version;
37
38
-
srcs = [ src_bin src_oss ];
0
0
0
39
40
sourceRoot = "makemkv-oss-${version}";
41
···
43
44
enableParallelBuilding = true;
45
46
-
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
0
0
0
47
48
-
buildInputs = [ ffmpeg openssl qtbase zlib ];
0
0
0
0
0
49
50
runtimeDependencies = [ (lib.getLib curl) ];
51
52
qtWrapperArgs =
53
let
54
binPath = lib.makeBinPath [ jre_headless ];
55
-
in lib.optionals withJava [
56
-
"--prefix PATH : ${binPath}"
57
-
];
58
59
installPhase = ''
60
runHook preInstall
···
84
expiration date.
85
'';
86
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
87
-
license = [ licenses.unfree licenses.lgpl21 ];
0
0
0
88
homepage = "http://makemkv.com";
89
platforms = [ "x86_64-linux" ];
90
maintainers = with maintainers; [ ];
···
1
+
{
2
+
lib,
3
+
mkDerivation,
4
+
fetchurl,
5
+
autoPatchelfHook,
6
+
pkg-config,
7
+
curl,
8
+
ffmpeg,
9
+
openssl,
10
+
qtbase,
11
+
zlib,
12
13
+
withJava ? true,
14
+
jre_headless,
15
}:
16
17
let
···
31
];
32
sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM=";
33
};
34
+
in
35
+
mkDerivation {
36
pname = "makemkv";
37
inherit version;
38
39
+
srcs = [
40
+
src_bin
41
+
src_oss
42
+
];
43
44
sourceRoot = "makemkv-oss-${version}";
45
···
47
48
enableParallelBuilding = true;
49
50
+
nativeBuildInputs = [
51
+
autoPatchelfHook
52
+
pkg-config
53
+
];
54
55
+
buildInputs = [
56
+
ffmpeg
57
+
openssl
58
+
qtbase
59
+
zlib
60
+
];
61
62
runtimeDependencies = [ (lib.getLib curl) ];
63
64
qtWrapperArgs =
65
let
66
binPath = lib.makeBinPath [ jre_headless ];
67
+
in
68
+
lib.optionals withJava [ "--prefix PATH : ${binPath}" ];
0
69
70
installPhase = ''
71
runHook preInstall
···
95
expiration date.
96
'';
97
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
98
+
license = [
99
+
licenses.unfree
100
+
licenses.lgpl21
101
+
];
102
homepage = "http://makemkv.com";
103
platforms = [ "x86_64-linux" ];
104
maintainers = with maintainers; [ ];