fluidsynth_1: init at 1.1.11

This commit is contained in:
Ricardo Ardissone 2018-12-16 09:30:10 -02:00
parent ad3e9191d1
commit ffc586cf49
2 changed files with 20 additions and 4 deletions

View File

@ -1,17 +1,32 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
, alsaLib, glib, libjack2, libsndfile, libpulseaudio
, 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 {
name = "fluidsynth-${version}";
version = "2.0.1";
name = "fluidsynth-${fluidsynthVersion}";
src = fetchFromGitHub {
owner = "FluidSynth";
repo = "fluidsynth";
rev = "v${version}";
sha256 = "1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7";
rev = "v${fluidsynthVersion}";
inherit sha256;
};
nativeBuildInputs = [ pkgconfig cmake ];

View File

@ -16836,6 +16836,7 @@ in
fluidsynth = callPackage ../applications/audio/fluidsynth {
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
};
fluidsynth_1 = fluidsynth.override { version = "1"; };
fmit = libsForQt5.callPackage ../applications/audio/fmit { };