fluida-lv2: new package (FluidSynth as an LV2 plugin) (#457790)

This commit is contained in:
Gaétan Lepage
2025-12-26 21:00:06 +00:00
committed by GitHub
+53
View File
@@ -0,0 +1,53 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
libX11,
cairo,
lv2,
fluidsynth,
writableTmpDirAsHomeHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fluida-lv2";
version = "0.9.5";
src = fetchFromGitHub {
owner = "brummer10";
repo = "Fluida.lv2";
tag = "v${finalAttrs.version}";
# submodule: https://github.com/brummer10/libxputty.git
fetchSubmodules = true;
hash = "sha256-5Oud5s81DIc7p/GAJT3i8FHHBh4y9uJqOxfchmX1nE4=";
};
nativeBuildInputs = [
writableTmpDirAsHomeHook
pkg-config
];
buildInputs = [
cairo
fluidsynth
libX11
lv2
];
postInstall = ''
# Output files were installed in ~/.lv2
# copy to the output directory:
mkdir -p $out/lib/lv2
cp -r $HOME/.lv2/* $out/lib/lv2/
'';
meta = {
changelog = "https://github.com/brummer10/Fluida.lv2/releases/tag/v${finalAttrs.version}";
description = "Fluidsynth as LV2 plugin";
homepage = "https://github.com/brummer10/Fluida.lv2";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ joostn ];
platforms = [ "x86_64-linux" ];
};
})