diff options
author | sternenseemann <sternenseemann@systemli.org> | 2021-10-16 23:26:05 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2021-10-26 01:56:17 +0200 |
commit | 45b312013ec00fd2b58bd687defe41d8b15506b1 (patch) | |
tree | e2d6237363f134ea6b74f83b3a4fc1597710cf8e /pkgs/applications/audio/fluidsynth | |
parent | 93de7f2421d69071780b3b15cedcf0678c48e1bb (diff) |
fluidsynth_1: remove at 1.1.11
* FluidSynth 1.1.11 was kept around as a dependency of some packages that hadn't yet adjusted to API breakages. All of these packages now use FluidSynth 2.x, so fluidsynth_1 can be removed. It has been broken ever since glib was updated to 2.70 and was affected by an unpatched CVE. * Refactor expression a bit, use pname instead of name. * Add changelog entry in case someone was using this downstream (accidentally?). Fixes #141508. Fixes #124624.
Diffstat (limited to 'pkgs/applications/audio/fluidsynth')
-rw-r--r-- | pkgs/applications/audio/fluidsynth/default.nix | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix index fa53bee5dc8d7..0af7b6b1f9592 100644 --- a/pkgs/applications/audio/fluidsynth/default.nix +++ b/pkgs/applications/audio/fluidsynth/default.nix @@ -1,33 +1,17 @@ { stdenv, lib, fetchFromGitHub, pkg-config, cmake , alsa-lib, glib, libjack2, libsndfile, libpulseaudio , AudioUnit, CoreAudio, CoreMIDI, CoreServices -, version ? "2" }: -let - versionMap = { - "1" = { - fluidsynthVersion = "1.1.11"; - sha256 = "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"; - }; - "2" = { - fluidsynthVersion = "2.2.3"; - sha256 = "0x5808d03ym23np17nl8gfbkx3c4y3d7jyyr2222wn2prswbb6x3"; - }; - }; -in - -with versionMap.${version}; - -stdenv.mkDerivation { - name = "fluidsynth-${fluidsynthVersion}"; - version = fluidsynthVersion; +stdenv.mkDerivation rec { + pname = "fluidsynth"; + version = "2.2.3"; src = fetchFromGitHub { owner = "FluidSynth"; repo = "fluidsynth"; - rev = "v${fluidsynthVersion}"; - inherit sha256; + rev = "v${version}"; + sha256 = "0x5808d03ym23np17nl8gfbkx3c4y3d7jyyr2222wn2prswbb6x3"; }; nativeBuildInputs = [ pkg-config cmake ]; |