2024-04-21 15:54:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, pkg-config
|
|
|
|
, cmake
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, faust
|
|
|
|
, fontconfig
|
|
|
|
, glew
|
|
|
|
, libvterm-neovim
|
|
|
|
, lv2
|
|
|
|
, lv2lint
|
|
|
|
, sord
|
|
|
|
, xorg
|
|
|
|
}:
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "mephisto";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.18.2";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
domain = "open-music-kontrollers.ch";
|
|
|
|
owner = "~hp";
|
|
|
|
repo = "mephisto.lv2";
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-ab6OGt1XVgynKNdszzdXwJ/jVKJSzgSmAv6j1U3/va0=";
|
|
|
|
};
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja fontconfig cmake ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
faust
|
|
|
|
libvterm-neovim
|
|
|
|
lv2
|
|
|
|
sord
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
|
|
|
glew
|
|
|
|
lv2lint
|
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A Just-in-time FAUST embedded in an LV2 plugin";
|
|
|
|
homepage = "https://git.open-music-kontrollers.ch/~hp/mephisto.lv2";
|
|
|
|
license = licenses.artistic2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2022-03-30 09:31:56 +00:00
|
|
|
})
|