lol

vgmstream: format with nixfmt-rfc-style

+24 -9
+24 -9
pkgs/by-name/vg/vgmstream/package.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cmake, pkg-config, gtk3 2 - , audacious-bare, mpg123, ffmpeg, libvorbis, libao, jansson, speex 3 - , nix-update-script 4 - , buildAudaciousPlugin ? false # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support 1 + { 2 + stdenv, 3 + lib, 4 + fetchFromGitHub, 5 + cmake, 6 + pkg-config, 7 + gtk3, 8 + audacious-bare, 9 + mpg123, 10 + ffmpeg, 11 + libvorbis, 12 + libao, 13 + jansson, 14 + speex, 15 + nix-update-script, 16 + buildAudaciousPlugin ? false, # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support 5 17 }: 6 18 7 19 stdenv.mkDerivation rec { ··· 17 29 18 30 passthru.updateScript = nix-update-script { 19 31 attrPath = "vgmstream"; 20 - extraArgs = [ "--version-regex" "r(.*)" ]; 32 + extraArgs = [ 33 + "--version-regex" 34 + "r(.*)" 35 + ]; 21 36 }; 22 37 23 38 nativeBuildInputs = [ ··· 42 57 cmakeFlags = [ 43 58 # It always tries to download it, no option to use the system one 44 59 "-DUSE_CELT=OFF" 45 - ] ++ lib.optional (! buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF"; 60 + ] ++ lib.optional (!buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF"; 46 61 47 62 meta = with lib; { 48 63 description = "Library for playback of various streamed audio formats used in video games"; 49 - homepage = "https://vgmstream.org"; 64 + homepage = "https://vgmstream.org"; 50 65 maintainers = with maintainers; [ zane ]; 51 - license = with licenses; isc; 52 - platforms = with platforms; unix; 66 + license = with licenses; isc; 67 + platforms = with platforms; unix; 53 68 }; 54 69 }