Merge pull request #141918 from sternenseemann/remove-fluidsynth-1
This commit is contained in:
commit
52abab8c90
@ -1176,6 +1176,14 @@ Superuser created successfully.
|
|||||||
will no longer work and must be updated.
|
will no longer work and must be updated.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>fluidsynth_1</literal> attribute has been
|
||||||
|
removed, as this legacy version is no longer needed in
|
||||||
|
nixpkgs. The actively maintained 2.x series is available as
|
||||||
|
<literal>fluidsynth</literal> unchanged.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-release-21.11-notable-changes">
|
<section xml:id="sec-release-21.11-notable-changes">
|
||||||
|
@ -362,6 +362,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||||||
- The `services.mosquitto` module has been rewritten to support multiple listeners and per-listener configuration.
|
- The `services.mosquitto` module has been rewritten to support multiple listeners and per-listener configuration.
|
||||||
Module configurations from previous releases will no longer work and must be updated.
|
Module configurations from previous releases will no longer work and must be updated.
|
||||||
|
|
||||||
|
- The `fluidsynth_1` attribute has been removed, as this legacy version is no longer needed in nixpkgs. The actively maintained 2.x series is available as `fluidsynth` unchanged.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
## Other Notable Changes {#sec-release-21.11-notable-changes}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,33 +1,17 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake
|
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake
|
||||||
, alsa-lib, glib, libjack2, libsndfile, libpulseaudio
|
, alsa-lib, glib, libjack2, libsndfile, libpulseaudio
|
||||||
, AudioUnit, CoreAudio, CoreMIDI, CoreServices
|
, AudioUnit, CoreAudio, CoreMIDI, CoreServices
|
||||||
, version ? "2"
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
versionMap = {
|
pname = "fluidsynth";
|
||||||
"1" = {
|
version = "2.2.3";
|
||||||
fluidsynthVersion = "1.1.11";
|
|
||||||
sha256 = "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh";
|
|
||||||
};
|
|
||||||
"2" = {
|
|
||||||
fluidsynthVersion = "2.2.3";
|
|
||||||
sha256 = "0x5808d03ym23np17nl8gfbkx3c4y3d7jyyr2222wn2prswbb6x3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
|
|
||||||
with versionMap.${version};
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "fluidsynth-${fluidsynthVersion}";
|
|
||||||
version = fluidsynthVersion;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FluidSynth";
|
owner = "FluidSynth";
|
||||||
repo = "fluidsynth";
|
repo = "fluidsynth";
|
||||||
rev = "v${fluidsynthVersion}";
|
rev = "v${version}";
|
||||||
inherit sha256;
|
sha256 = "0x5808d03ym23np17nl8gfbkx3c4y3d7jyyr2222wn2prswbb6x3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake ];
|
nativeBuildInputs = [ pkg-config cmake ];
|
||||||
|
@ -24662,7 +24662,6 @@ with pkgs;
|
|||||||
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