Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPackages,
|
|
pkg-config,
|
|
cmake,
|
|
alsa-lib,
|
|
glib,
|
|
libjack2,
|
|
libsndfile,
|
|
libpulseaudio,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fluidsynth";
|
|
version = "2.4.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FluidSynth";
|
|
repo = "fluidsynth";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-rOPoRV0NWrlFZohqQ76gnXvt4/ryEI4nSlX+mNW+qf8=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"man"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
buildPackages.stdenv.cc
|
|
pkg-config
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
libsndfile
|
|
libjack2
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
|
alsa-lib
|
|
libpulseaudio
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-Denable-framework=off"
|
|
];
|
|
|
|
meta = {
|
|
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
|
|
homepage = "https://www.fluidsynth.org";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [
|
|
lovek323
|
|
guylamar2006
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "fluidsynth";
|
|
};
|
|
})
|