lol
1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 libX11,
6 vst2-sdk,
7}:
8stdenv.mkDerivation rec {
9 pname = "oxefmsynth";
10 version = "1.3.5";
11
12 src = fetchFromGitHub {
13 owner = "oxesoft";
14 repo = "oxefmsynth";
15 rev = "v${version}";
16 sha256 = "1rk71ls33a38wx8i22plsi7d89cqqxrfxknq5i4f9igsw1ipm4gn";
17 };
18
19 env.NIX_CFLAGS_COMPILE = toString [ "-Wno-narrowing" ];
20
21 buildFlags = [ "VSTSDK_PATH=${vst2-sdk}" ];
22
23 buildInputs = [ libX11 ];
24
25 installPhase = ''
26 mkdir -p $out/lib/lxvst
27 install -Dm644 oxevst64.so -t $out/lib/lxvst
28 '';
29
30 meta = {
31 homepage = "https://github.com/oxesoft/oxefmsynth";
32 description = "Open source VST 2.4 instrument plugin";
33 maintainers = [ lib.maintainers.hirenashah ];
34 platforms = [ "x86_64-linux" ];
35 license = lib.licenses.gpl3Only;
36 };
37}