Add Atlas VST

This commit is contained in:
Samae 2023-05-29 18:39:33 +03:00
parent 262ee12c64
commit c89761dcbd
2 changed files with 58 additions and 0 deletions

56
pkgs/atlas/default.nix Normal file
View file

@ -0,0 +1,56 @@
{ lib
, stdenv
, fetchzip
, autoPatchelfHook
, curl
, gcc
, freetype
, libGL
, alsa-lib
}:
stdenv.mkDerivation {
pname = "atlas";
version = "2.3.4";
src = fetchzip {
url = "https://d11odam63kxzru.cloudfront.net/Atlas_2.3.4_Linux.zip";
sha256 = "sha256-D31NVADX59rnlP22UyYybor5HpFlJuS6h+Hjbv1HSns=";
stripRoot = false;
};
nativeBuildInputs = [
autoPatchelfHook
];
buildInputs = [ curl gcc.cc.lib freetype libGL alsa-lib ];
#patchPhase = ''
# patchShebangs --build .
# # Set dest dirs with sed, as all are not configurable
# sed -i 's+HOME/\.+out/lib/+' install.sh
# sed -i 's+DIALOG=$PRODUCT/dialog+DIALOG=echo+' install.sh
#'';
#buildPhase = ''
#'';
installPhase = ''
mkdir -p $out/lib/vst/algonaut
cp vst2/* $out/lib/vst/algonaut/
mkdir -p $out/lib/vst3/algonaut
cp -r vst3/* $out/lib/vst3/algonaut/
mkdir -p $out/bin
cp standalone/* $out/bin/
'';
meta = with lib; {
description = "Turn samples into music";
homepage = "https://algonaut.audio";
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ jpotier ];
};
}

View file

@ -81,6 +81,8 @@ final: prev:
uhe-diva = prev.callPackage ./diva {};
atlas = prev.callPackage ./atlas {};
#cardinal = prev.callPackage ./cardinal {};
# Originally from Mats Rauhala ®2018