File tree Expand file tree Collapse file tree 3 files changed +72
-41
lines changed
applications/audio/fluidsynth Expand file tree Collapse file tree 3 files changed +72
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ stdenv ,
3+ darwin ,
4+ lib ,
5+ fetchFromGitHub ,
6+ buildPackages ,
7+ pkg-config ,
8+ cmake ,
9+ alsa-lib ,
10+ glib ,
11+ libjack2 ,
12+ libsndfile ,
13+ libpulseaudio ,
14+ } :
15+
16+ stdenv . mkDerivation ( finalAttrs : {
17+ pname = "fluidsynth" ;
18+ version = "2.4.3" ;
19+
20+ src = fetchFromGitHub {
21+ owner = "FluidSynth" ;
22+ repo = "fluidsynth" ;
23+ tag = "v${ finalAttrs . version } " ;
24+ hash = "sha256-LaJcWrHgt/RzlDQmpzOjF/9ugD5d+8XWRt7pU3SM5Rk=" ;
25+ } ;
26+
27+ outputs = [
28+ "out"
29+ "dev"
30+ "man"
31+ ] ;
32+
33+ nativeBuildInputs = [
34+ buildPackages . stdenv . cc
35+ pkg-config
36+ cmake
37+ ] ;
38+
39+ buildInputs =
40+ [
41+ glib
42+ libsndfile
43+ libjack2
44+ ]
45+ ++ lib . optionals stdenv . hostPlatform . isLinux [
46+ alsa-lib
47+ libpulseaudio
48+ ]
49+ ++ lib . optionals stdenv . hostPlatform . isDarwin (
50+ with darwin . apple_sdk . frameworks ;
51+ [
52+ AppKit
53+ AudioUnit
54+ CoreAudio
55+ CoreMIDI
56+ CoreServices
57+ ]
58+ ) ;
59+
60+ cmakeFlags = [
61+ "-Denable-framework=off"
62+ ] ;
63+
64+ meta = {
65+ description = "Real-time software synthesizer based on the SoundFont 2 specifications" ;
66+ homepage = "https://www.fluidsynth.org" ;
67+ license = lib . licenses . lgpl21Plus ;
68+ maintainers = with lib . maintainers ; [ lovek323 ] ;
69+ platforms = lib . platforms . unix ;
70+ mainProgram = "fluidsynth" ;
71+ } ;
72+ } )
Original file line number Diff line number Diff line change @@ -12916,10 +12916,6 @@ with pkgs;
1291612916 hamlib = hamlib_4;
1291712917 };
1291812918
12919- fluidsynth = callPackage ../applications/audio/fluidsynth {
12920- inherit (darwin.apple_sdk.frameworks) AppKit AudioUnit CoreAudio CoreMIDI CoreServices;
12921- };
12922-
1292312919 fmit = libsForQt5.callPackage ../applications/audio/fmit { };
1292412920
1292512921 fnc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/fnc { };
You can’t perform that action at this time.
0 commit comments