juce: reformat

This commit is contained in:
Samuel Tardieu
2024-11-17 18:21:29 +01:00
parent 03510aab95
commit e307440e58
+38 -31
View File
@@ -1,21 +1,22 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
# Native build inputs
, cmake
, pkg-config
, makeWrapper
# Native build inputs
cmake,
pkg-config,
makeWrapper,
# Dependencies
, alsa-lib
, freetype
, curl
, libglvnd
, webkitgtk_4_0
, pcre
, darwin
# Dependencies
alsa-lib,
freetype,
curl,
libglvnd,
webkitgtk_4_0,
pcre,
darwin,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -43,20 +44,23 @@ stdenv.mkDerivation (finalAttrs: {
makeWrapper
];
buildInputs = [
freetype # libfreetype.so
curl # libcurl.so
(lib.getLib stdenv.cc.cc) # libstdc++.so libgcc_s.so
pcre # libpcre2.pc
] ++ lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib # libasound.so
libglvnd # libGL.so
webkitgtk_4_0 # webkit2gtk-4.0
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.MetalKit
darwin.apple_sdk.frameworks.WebKit
];
buildInputs =
[
freetype # libfreetype.so
curl # libcurl.so
(lib.getLib stdenv.cc.cc) # libstdc++.so libgcc_s.so
pcre # libpcre2.pc
]
++ lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib # libasound.so
libglvnd # libGL.so
webkitgtk_4_0 # webkit2gtk-4.0
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.MetalKit
darwin.apple_sdk.frameworks.WebKit
];
meta = with lib; {
description = "Cross-platform C++ application framework";
@@ -64,7 +68,10 @@ stdenv.mkDerivation (finalAttrs: {
longDescription = "JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, RTAS and AAX audio plug-ins";
homepage = "https://github.com/juce-framework/JUCE";
changelog = "https://github.com/juce-framework/JUCE/blob/${finalAttrs.version}/CHANGE_LIST.md";
license = with licenses; [ isc gpl3Plus ];
license = with licenses; [
isc
gpl3Plus
];
maintainers = with maintainers; [ kashw2 ];
platforms = platforms.all;
};