juce: reformat
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user