mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
open-music-kontrollers.mephisto: 0.16.0 -> 0.18.2, fix build (#293048)
* faust: pull fix for users of faust/dsp/llvm-dsp-c.h * open-music-kontrollers.mephisto: 0.16.0 -> 0.18.2, fix build The generic package for these no longer works due to changes in the git hosting that upstream uses.
This commit is contained in:
parent
788f65a3d7
commit
aa07a3623a
|
@ -63,6 +63,14 @@ let
|
||||||
ncurses_static
|
ncurses_static
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-CsigFFun-API-declaration.patch";
|
||||||
|
url = "https://github.com/grame-cncm/faust/commit/10ce960e91a6237c7bff14a338e770757076ce9e.patch";
|
||||||
|
hash = "sha256-WMFLpLGTZpG7ni3lhI5VJHsmJViWZf4pAFuhYmFVRCE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
passthru = { inherit wrap wrapWithBuildEnv faust2ApplBase; };
|
passthru = { inherit wrap wrapWithBuildEnv faust2ApplBase; };
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
@ -1,17 +1,50 @@
|
||||||
{ callPackage, faust, fontconfig, cmake, libvterm-neovim, libevdev, libglvnd, fira-code, ... } @ args:
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, pkg-config
|
||||||
|
, cmake
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, faust
|
||||||
|
, fontconfig
|
||||||
|
, glew
|
||||||
|
, libvterm-neovim
|
||||||
|
, lv2
|
||||||
|
, lv2lint
|
||||||
|
, sord
|
||||||
|
, xorg
|
||||||
|
}:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mephisto";
|
pname = "mephisto";
|
||||||
version = "0.16.0";
|
version = "0.18.2";
|
||||||
|
|
||||||
sha256 = "0vgr3rsvdj4w0xpc5iqpvyqilk42wr9zs8bg26sfv3f2wi4hb6gx";
|
src = fetchFromSourcehut {
|
||||||
|
domain = "open-music-kontrollers.ch";
|
||||||
|
owner = "~hp";
|
||||||
|
repo = "mephisto.lv2";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-ab6OGt1XVgynKNdszzdXwJ/jVKJSzgSmAv6j1U3/va0=";
|
||||||
|
};
|
||||||
|
|
||||||
additionalBuildInputs = [ faust fontconfig cmake libvterm-neovim libevdev libglvnd fira-code ];
|
nativeBuildInputs = [ pkg-config meson ninja fontconfig cmake ];
|
||||||
|
|
||||||
# see: https://github.com/OpenMusicKontrollers/mephisto.lv2/issues/6
|
buildInputs = [
|
||||||
postPatch = ''
|
faust
|
||||||
sed -i 's/llvm-c-dsp/llvm-dsp-c/g' mephisto.c
|
libvterm-neovim
|
||||||
'';
|
lv2
|
||||||
|
sord
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXext
|
||||||
|
glew
|
||||||
|
lv2lint
|
||||||
|
];
|
||||||
|
|
||||||
description = "A Just-in-time FAUST embedded in an LV2 plugin";
|
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;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue