nixpkgs/pkgs/applications/audio/fluidsynth/default.nix
Ryan Mulligan b05cc4d9a5 fluidsynth: 1.1.8 -> 1.1.9
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth -h` got 0 exit code
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth --help` got 0 exit code
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth -V` and found version 1.1.9
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth --version` and found version 1.1.9
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth -h` and found version 1.1.9
- ran `/nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9/bin/fluidsynth --help` and found version 1.1.9
- found 1.1.9 with grep in /nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9
- found 1.1.9 in filename of file in /nix/store/lahkxc281j7vxzivbp68c71k6jgjzmcj-fluidsynth-1.1.9
2018-02-25 21:28:59 -08:00

33 lines
1021 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.9";
src = fetchFromGitHub {
owner = "FluidSynth";
repo = "fluidsynth";
rev = "v${version}";
sha256 = "0krvmb1idnf95l2ydzfcb08ayyx3n4m71hf9fgwv3srzaikvpf3q";
};
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;
};
}