filebot: reformat with nixfmt-rfc-style

This commit is contained in:
Felix Schröter 2024-08-23 23:08:24 +02:00
parent c783464146
commit 5935506230
No known key found for this signature in database
GPG Key ID: 671E39E6744C807D

View File

@ -1,6 +1,19 @@
{ lib, stdenv, fetchurl, coreutils, openjdk17, makeWrapper, autoPatchelfHook
, zlib, libzen, libmediainfo, curlWithGnuTls, libmms, glib
, genericUpdater, writeShellScript
{
lib,
stdenv,
fetchurl,
coreutils,
openjdk17,
makeWrapper,
autoPatchelfHook,
zlib,
libzen,
libmediainfo,
curlWithGnuTls,
libmms,
glib,
genericUpdater,
writeShellScript,
}:
let
@ -8,7 +21,8 @@ let
url = "https://search.maven.org/remotecontent?filepath=com/googlecode/lanterna/lanterna/3.1.1/lanterna-3.1.1.jar";
hash = "sha256-7zxCeXYW5v9ritnvkwRpPKdgSptCmkT3HJOaNgQHUmQ=";
};
in stdenv.mkDerivation (finalAttrs: {
in
stdenv.mkDerivation (finalAttrs: {
pname = "filebot";
version = "5.1.4";
@ -19,9 +33,19 @@ in stdenv.mkDerivation (finalAttrs: {
unpackPhase = "tar xvf $src";
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
nativeBuildInputs = [
makeWrapper
autoPatchelfHook
];
buildInputs = [ zlib libzen libmediainfo curlWithGnuTls libmms glib ];
buildInputs = [
zlib
libzen
libmediainfo
curlWithGnuTls
libmms
glib
];
postPatch = ''
# replace lanterna.jar to be able to specify `com.googlecode.lanterna.terminal.UnixTerminal.sttyCommand`
@ -65,7 +89,10 @@ in stdenv.mkDerivation (finalAttrs: {
binaryNativeCode
];
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ gleber felschr ];
maintainers = with maintainers; [
gleber
felschr
];
platforms = platforms.linux;
mainProgram = "filebot";
};