adding vst nix packages
This commit is contained in:
parent
a5ae1b6e82
commit
edc3c4dbbf
11 changed files with 324 additions and 26 deletions
51
packages/amplocker/package.nix
Normal file
51
packages/amplocker/package.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Amp Locker";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://audioassaultdownloads.s3.amazonaws.com/AmpLocker/AmpLocker109/AmpLockerLinux.zip";
|
||||
sha256 = "sha256-aZPDjhCk6xbTHGeZi+WbSVz0qphCIeeqFH5hE6it7z4=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
curl
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst3 $out/
|
||||
mv "Amp Locker.vst3/Contents/x86_64-linux/Amp Locker.so" "Amp Locker.vst3/Contents/x86_64-linux/AmpLocker.so"
|
||||
cp -r "Amp Locker.vst3" $out/lib/vst3/AmpLocker.vst3
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS = (toString [
|
||||
"-lX11"
|
||||
"-lXext"
|
||||
"-lXcursor"
|
||||
"-lXinerama"
|
||||
"-lXrandr"
|
||||
]);
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/vst3/AmpLocker.vst3/Contents/x86_64-linux/AmpLocker.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://audioassault.mx/getamplocker#Get_Amp_Locker";
|
||||
description = "Amp Locker";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
48
packages/chair-audio/cymb.nix
Normal file
48
packages/chair-audio/cymb.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Excite Cymbal Pro";
|
||||
version = "latest";
|
||||
src = ../../binary-installers/excite_cymbal_pro-v1.0.1.zip;
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
curl
|
||||
stdenv.cc.cc.lib
|
||||
xorg.libICE
|
||||
xorg.libSM
|
||||
xorg.libX11
|
||||
xorg.libXext
|
||||
xorg.libXcursor
|
||||
xorg.libxkbfile
|
||||
zulip.out
|
||||
xcb-util-cursor
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst3
|
||||
cp -r excite_cymbal_pro/excite_cymbal_PRO.vst3 $out/lib/vst3/
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/vst3/excite_cymbal_PRO.vst3/Contents/x86_64-linux/excite_cymbal_PRO.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.chair.audio/";
|
||||
description = "Excite Cymbal Pro";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
48
packages/chair-audio/snare.nix
Normal file
48
packages/chair-audio/snare.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Excite Snare Pro";
|
||||
version = "latest";
|
||||
src = ../../binary-installers/excite_snare_drum_PRO_1.1.10.zip;
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
curl
|
||||
stdenv.cc.cc.lib
|
||||
xorg.libICE
|
||||
xorg.libSM
|
||||
xorg.libX11
|
||||
xorg.libXext
|
||||
xorg.libXcursor
|
||||
xorg.libxkbfile
|
||||
zulip.out
|
||||
xcb-util-cursor
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst3
|
||||
cp -r excite_snare_drum_PRO.vst3 $out/lib/vst3/
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/vst3/excite_snare_drum_PRO.vst3/Contents/x86_64-linux/excite_snare_drum_PRO.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.chair.audio/";
|
||||
description = "Excite Snare Pro";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
45
packages/tal/bassline.nix
Normal file
45
packages/tal/bassline.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tal-bassline";
|
||||
version = "3.9.4";
|
||||
src = fetchurl {
|
||||
url = "https://tal-software.com/downloads/plugins/TAL-BassLine-101_64_linux.zip";
|
||||
sha256 = "sha256-szlmaaCIbkCTLa23vrAICSq4dgorHfPWjOxiF6M2Xzk=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst $out/lib/vst3 $out/lib/clap
|
||||
cp -r TAL-BassLine-101/TAL-BassLine-101.clap $out/lib/clap
|
||||
cp -r TAL-BassLine-101/libTAL-BassLine-101.so $out/lib/vst
|
||||
cp -r TAL-BassLine-101/TAL-BassLine-101.vst3 $out/lib/vst3
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/clap/TAL-BassLine-101.clap \
|
||||
$out/lib/vst/libTAL-BassLine-101.so \
|
||||
$out/lib/vst3/TAL-BassLine-101.vst3/Contents/x86_64-linux/TAL-BassLine-101.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tal-software.com/products/tal-bassline-101";
|
||||
description = "TAL Bassline 101";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
45
packages/tal/j8.nix
Normal file
45
packages/tal/j8.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tal-j8";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://tal-software.com/downloads/plugins/TAL-J-8_64_linux.zip";
|
||||
sha256 = "sha256-Z1ASlR4aqUh0yFzW0sOJLocXk1RPOnGmKCri2n/qcWc=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst $out/lib/vst3 $out/lib/clap
|
||||
cp -r TAL-J-8/TAL-J-8.clap $out/lib/clap
|
||||
cp -r TAL-J-8/libTAL-J-8.so $out/lib/vst
|
||||
cp -r TAL-J-8/TAL-J-8.vst3 $out/lib/vst3
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/clap/TAL-J-8.clap \
|
||||
$out/lib/vst/libTAL-J-8.so \
|
||||
$out/lib/vst3/TAL-J-8.vst3/Contents/x86_64-linux/TAL-J-8.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tal-software.com/products/tal-j-8";
|
||||
description = "TAL-J-8";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
45
packages/tal/u-no-lx.nix
Normal file
45
packages/tal/u-no-lx.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tal-u-no-lx";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://tal-software.com/downloads/plugins/TAL-U-NO-LX-V2_64_linux.zip";
|
||||
sha256 = "sha256-okPSejK2RQTy1s4cmxoM8D7d2ZeoWCITgHS2aT0atKc=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst $out/lib/vst3 $out/lib/clap
|
||||
cp -r TAL-U-NO-LX-V2/TAL-U-NO-LX-V2.clap $out/lib/clap
|
||||
cp -r TAL-U-NO-LX-V2/libTAL-U-NO-LX-V2.so $out/lib/vst
|
||||
cp -r TAL-U-NO-LX-V2/TAL-U-NO-LX-V2.vst3 $out/lib/vst3
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for file in \
|
||||
$out/lib/clap/TAL-U-NO-LX-V2.clap \
|
||||
$out/lib/vst/libTAL-U-NO-LX-V2.so \
|
||||
$out/lib/vst3/TAL-U-NO-LX-V2.vst3/Contents/x86_64-linux/TAL-U-NO-LX-V2.so
|
||||
do
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $file
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tal-software.com/products/tal-u-no-lx";
|
||||
description = "TAL-U-NO-LX";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue