about summary refs log tree commit diff
path: root/pkgs/applications/audio/open-music-kontrollers/mephisto.nix
blob: 2328b9979158a10f91947f5e73e33d686b77b26c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ stdenv
, lib
, fetchFromSourcehut
, pkg-config
, cmake
, meson
, ninja
, faust
, fontconfig
, glew
, libvterm-neovim
, lv2
, lv2lint
, sord
, xorg
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "mephisto";
  version = "0.18.2";

  src = fetchFromSourcehut {
    domain = "open-music-kontrollers.ch";
    owner = "~hp";
    repo = "mephisto.lv2";
    rev = finalAttrs.version;
    hash = "sha256-ab6OGt1XVgynKNdszzdXwJ/jVKJSzgSmAv6j1U3/va0=";
  };

  nativeBuildInputs = [ pkg-config meson ninja fontconfig cmake ];

  buildInputs = [
    faust
    libvterm-neovim
    lv2
    sord
    xorg.libX11
    xorg.libXext
    glew
    lv2lint
  ];

  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;
  };
})