trying to make u-he package
This commit is contained in:
parent
204a1d6b8f
commit
0db7b6f402
4 changed files with 46 additions and 7 deletions
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://audioassaultdownloads.s3.amazonaws.com/AmpLocker/AmpLocker109/AmpLockerLinux.zip";
|
||||
sha256 = "sha256-aZPDjhCk6xbTHGeZi+WbSVz0qphCIeeqFH5hE6it7z4=";
|
||||
sha256 = "sha256-H36j6w4BrFe+0hStVNGs4FoHnIlQE+D++osq+trHYh0=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
|
|
37
packages/u-he/twangstrom.nix
Normal file
37
packages/u-he/twangstrom.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "u-he twangstrom";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://dl.u-he.com/releases/Twangstrom_102_16742_Linux.tar.xz";
|
||||
sha256 = "sha256-SFPY+R+gQstDXe+gLaoIuCUckBoYwWZygXSMwytcpnc=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
stdenv.cc.cc.lib
|
||||
cairo
|
||||
xorg.libxcb
|
||||
xorg.xcbutilkeysyms
|
||||
xorg.xcbutil
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/vst $out/lib/vst3 $out/lib/clap $out/lib/vst3/Twangstrom.vst3/Contents/Resources/Documentation $out/lib/vst3/Twangstrom.vst3/Contents/x86_64-linux $out/lib/vst3/Twangstrom.vst3/Contents/i686-linux
|
||||
|
||||
cp -r Twangstrom/Twangstrom.64.so $out/lib/vst/
|
||||
|
||||
cp -r Twangstrom/Twangstrom.64.so $out/lib/vst3/Twangstrom.vst3/Contents/x86_64-linux/
|
||||
cp -r Twangstrom/*.pdf $out/lib/vst3/Twangstrom.vst3/Contents/Resources/Documentation/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://u-he.com/products/twangstrom/";
|
||||
description = "u-he twangstrom";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue