adding vst nix packages
This commit is contained in:
parent
a5ae1b6e82
commit
edc3c4dbbf
11 changed files with 324 additions and 26 deletions
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