fluidsynth_1: init at 1.1.11
This commit is contained in:
parent
ad3e9191d1
commit
ffc586cf49
@ -1,17 +1,32 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
||||||
, alsaLib, glib, libjack2, libsndfile, libpulseaudio
|
, alsaLib, glib, libjack2, libsndfile, libpulseaudio
|
||||||
, AudioUnit, CoreAudio, CoreMIDI, CoreServices
|
, AudioUnit, CoreAudio, CoreMIDI, CoreServices
|
||||||
|
, version ? "2"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
versionMap = {
|
||||||
|
"1" = {
|
||||||
|
fluidsynthVersion = "1.1.11";
|
||||||
|
sha256 = "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh";
|
||||||
|
};
|
||||||
|
"2" = {
|
||||||
|
fluidsynthVersion = "2.0.1";
|
||||||
|
sha256 = "1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
with versionMap.${version};
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fluidsynth-${version}";
|
name = "fluidsynth-${fluidsynthVersion}";
|
||||||
version = "2.0.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FluidSynth";
|
owner = "FluidSynth";
|
||||||
repo = "fluidsynth";
|
repo = "fluidsynth";
|
||||||
rev = "v${version}";
|
rev = "v${fluidsynthVersion}";
|
||||||
sha256 = "1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7";
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
|
@ -16836,6 +16836,7 @@ in
|
|||||||
fluidsynth = callPackage ../applications/audio/fluidsynth {
|
fluidsynth = callPackage ../applications/audio/fluidsynth {
|
||||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
|
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
|
||||||
};
|
};
|
||||||
|
fluidsynth_1 = fluidsynth.override { version = "1"; };
|
||||||
|
|
||||||
fmit = libsForQt5.callPackage ../applications/audio/fmit { };
|
fmit = libsForQt5.callPackage ../applications/audio/fmit { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user