makemkv: reformat according to RFC166

+35 -21
+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 1 + { 2 + lib, 3 + mkDerivation, 4 + fetchurl, 5 + autoPatchelfHook, 6 + pkg-config, 7 + curl, 8 + ffmpeg, 9 + openssl, 10 + qtbase, 11 + zlib, 11 12 12 - , withJava ? true 13 - , jre_headless 13 + withJava ? true, 14 + jre_headless, 14 15 }: 15 16 16 17 let ··· 30 31 ]; 31 32 sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM="; 32 33 }; 33 - 34 - in mkDerivation { 34 + in 35 + mkDerivation { 35 36 pname = "makemkv"; 36 37 inherit version; 37 38 38 - srcs = [ src_bin src_oss ]; 39 + srcs = [ 40 + src_bin 41 + src_oss 42 + ]; 39 43 40 44 sourceRoot = "makemkv-oss-${version}"; 41 45 ··· 43 47 44 48 enableParallelBuilding = true; 45 49 46 - nativeBuildInputs = [ autoPatchelfHook pkg-config ]; 50 + nativeBuildInputs = [ 51 + autoPatchelfHook 52 + pkg-config 53 + ]; 47 54 48 - buildInputs = [ ffmpeg openssl qtbase zlib ]; 55 + buildInputs = [ 56 + ffmpeg 57 + openssl 58 + qtbase 59 + zlib 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 - in lib.optionals withJava [ 56 - "--prefix PATH : ${binPath}" 57 - ]; 67 + in 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 - license = [ licenses.unfree licenses.lgpl21 ]; 98 + license = [ 99 + licenses.unfree 100 + licenses.lgpl21 101 + ]; 88 102 homepage = "http://makemkv.com"; 89 103 platforms = [ "x86_64-linux" ]; 90 104 maintainers = with maintainers; [ ];