diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix index b98c48fbe169..261e8008f6bc 100644 --- a/pkgs/applications/video/makemkv/default.nix +++ b/pkgs/applications/video/makemkv/default.nix @@ -1,16 +1,17 @@ -{ lib -, mkDerivation -, fetchurl -, autoPatchelfHook -, pkg-config -, curl -, ffmpeg -, openssl -, qtbase -, zlib +{ + lib, + mkDerivation, + fetchurl, + autoPatchelfHook, + pkg-config, + curl, + ffmpeg, + openssl, + qtbase, + zlib, -, withJava ? true -, jre_headless + withJava ? true, + jre_headless, }: let @@ -30,12 +31,15 @@ let ]; sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM="; }; - -in mkDerivation { +in +mkDerivation { pname = "makemkv"; inherit version; - srcs = [ src_bin src_oss ]; + srcs = [ + src_bin + src_oss + ]; sourceRoot = "makemkv-oss-${version}"; @@ -43,18 +47,25 @@ in mkDerivation { enableParallelBuilding = true; - nativeBuildInputs = [ autoPatchelfHook pkg-config ]; + nativeBuildInputs = [ + autoPatchelfHook + pkg-config + ]; - buildInputs = [ ffmpeg openssl qtbase zlib ]; + buildInputs = [ + ffmpeg + openssl + qtbase + zlib + ]; runtimeDependencies = [ (lib.getLib curl) ]; qtWrapperArgs = let binPath = lib.makeBinPath [ jre_headless ]; - in lib.optionals withJava [ - "--prefix PATH : ${binPath}" - ]; + in + lib.optionals withJava [ "--prefix PATH : ${binPath}" ]; installPhase = '' runHook preInstall @@ -84,9 +95,12 @@ in mkDerivation { expiration date. ''; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = [ licenses.unfree licenses.lgpl21 ]; + license = [ + licenses.unfree + licenses.lgpl21 + ]; homepage = "http://makemkv.com"; platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ jchw ]; }; }