Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

52 lines
997 B
Nix

{
lib,
stdenv,
fetchFromGitLab,
fetchpatch2,
lv2,
lv2lint,
pkg-config,
meson,
ninja,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fomp";
version = "1.2.4";
src = fetchFromGitLab {
owner = "drobilla";
repo = "fomp";
tag = "v${finalAttrs.version}";
hash = "sha256-8rkAV+RJS9vQV+9+swclAP0QBjBDT2tKeLWHxwpUrlk=";
};
patches = [
(fetchpatch2 {
url = "https://gitlab.com/drobilla/fomp/-/commit/f8e4e1e0b1abe3afd2ea17b13795bbe871fccece.patch";
hash = "sha256-uJpUwTEBOp0Zo7zKT9jekhtkg9okUvGTavLIQmNKutU=";
})
];
nativeBuildInputs = [
pkg-config
meson
ninja
lv2lint
];
buildInputs = [
lv2
];
strictDeps = true;
meta = {
homepage = "https://drobilla.net/software/fomp.html";
description = "LV2 port of the MCP, VCO, FIL, and WAH plugins by Fons Adriaensen";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
};
})