From 1ccd0950dc12b7bc77b94f24ff4df8664cae6016 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 28 Feb 2020 23:57:05 +0800 Subject: [PATCH] bitwig: add some more plugins --- .../bitwig-studio-environment.nix | 13 +++++++--- pkgs/default.nix | 2 ++ pkgs/lv2vst/default.nix | 24 +++++++++++++++++++ 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 pkgs/lv2vst/default.nix diff --git a/pkgs/bitwig-studio/bitwig-studio-environment.nix b/pkgs/bitwig-studio/bitwig-studio-environment.nix index ae43ccd..4777c05 100644 --- a/pkgs/bitwig-studio/bitwig-studio-environment.nix +++ b/pkgs/bitwig-studio/bitwig-studio-environment.nix @@ -8,9 +8,13 @@ # --------------- { pkgs ? import { } }: -# function call -# ------------- -(pkgs.buildFHSUserEnv { +let + + unstable = import { }; + + # function call + # ------------- +in (pkgs.buildFHSUserEnv { # name of the programm # -------------------- @@ -67,6 +71,9 @@ distrho zam-plugins calf + carla + unstable.bshapr + lv2vst ]; diff --git a/pkgs/default.nix b/pkgs/default.nix index f079641..0eab5e3 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -26,6 +26,8 @@ in { bitwig-studio = callPackage ./bitwig-studio/bitwig-studio-environment.nix { }; + lv2vst = callPackage ./lv2vst { }; + landingpage = callPackage ./landingpage { }; bepasty-client-cli = callPackage ./bepasty-client-cli { }; diff --git a/pkgs/lv2vst/default.nix b/pkgs/lv2vst/default.nix new file mode 100644 index 0000000..60231d9 --- /dev/null +++ b/pkgs/lv2vst/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchgit, ... }: + +stdenv.mkDerivation rec { + version = "2019-09-30"; + name = "lv2vst-${version}"; + + src = fetchgit { + url = "https://github.com/x42/lv2vst.git"; + rev = "3fc413550dbe7b37a60ad7808dde05c4670c7bb4"; + sha256 = "0dq1r95fxqwirkyv91j4qbigrazh0wsy769kc27yysl69p3lpgq3"; + }; + + installPhase = "PREFIX=$out VSTDIR=$out/lib/vst/ make install"; + + buildInputs = [ ]; + + meta = with stdenv.lib; { + description = "experimental LV2 to VST2.x wrapper"; + homepage = "https://github.com/x42/lv2vst"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ mrVanDalo ]; + }; +}