{ 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 ]; }; }