mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
00ffbc4b8c
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth -h` got 0 exit code - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth --help` got 0 exit code - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth help` got 0 exit code - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth -V` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth -v` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth --version` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth version` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth -h` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth --help` and found version 1.1.10 - ran `/nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10/bin/fluidsynth help` and found version 1.1.10 - found 1.1.10 with grep in /nix/store/23kh3gax6a023mi2r3q31fd1mixa1k14-fluidsynth-1.1.10 - directory tree listing: https://gist.github.com/fbd821b325f18bdbc65812caeb1e0ecc
33 lines
1,022 B
Nix
33 lines
1,022 B
Nix
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
|
, alsaLib, glib, libjack2, libsndfile, libpulseaudio
|
|
, AudioUnit, CoreAudio, CoreMIDI, CoreServices
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "fluidsynth-${version}";
|
|
version = "1.1.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FluidSynth";
|
|
repo = "fluidsynth";
|
|
rev = "v${version}";
|
|
sha256 = "04jlgq1d1hd8r9cnmkl3lgf1fgm7kgy4hh9nfddap41fm1wp121p";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
buildInputs = [ glib libsndfile ]
|
|
++ lib.optionals (!stdenv.isDarwin) [ alsaLib libpulseaudio libjack2 ]
|
|
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
|
|
|
|
cmakeFlags = lib.optional stdenv.isDarwin "-Denable-framework=off";
|
|
|
|
meta = with lib; {
|
|
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
|
|
homepage = http://www.fluidsynth.org;
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ goibhniu lovek323 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|