adding the usual suspects emulator plugins

This commit is contained in:
Matt Nish-Lapidus 2024-12-07 11:02:16 -05:00
parent ae3f40b06f
commit e998e632b4
14 changed files with 199 additions and 3 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
stdenv.mkDerivation rec {
pname = "osirus";
version = "latest";
src = fetchurl {
url = "https://futurenoize.com/dsp56300/builds/osirus/beta/DSP56300Emu-1.4.0-Linux_x86_64-Osirus-CLAP.zip";
sha256 = "sha256-Y0oCpt9Mk/PoZu/FkC7X4RY1hVWuZ6cFwJV83WdpDe0=";
};
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
buildInputs = with pkgs; [
freetype
fontconfig
alsa-lib
pipewire
stdenv.cc.cc.lib
];
unpackPhase = ''
unzip $src
'';
installPhase = ''
mkdir -p $out/lib/clap
cp -r usr/local/lib/clap/Osirus.clap $out/lib/clap/
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/Osirus.clap
'';
meta = with lib; {
homepage = "https://dsp56300.wordpress.com/osirus/";
description = "Osirus";
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,37 @@
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
stdenv.mkDerivation rec {
pname = "ostirus";
version = "latest";
src = fetchurl {
url = "https://futurenoize.com/dsp56300/builds/ostirus/beta/DSP56300Emu-1.4.0-Linux_x86_64-OsTIrus-CLAP.zip";
sha256 = "sha256-F+n/0gtJ0U7pF7KWr0EQbDSW1oGlG0az17l5zlE3H0s=";
};
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
buildInputs = with pkgs; [
freetype
fontconfig
alsa-lib
pipewire
stdenv.cc.cc.lib
];
unpackPhase = ''
unzip $src
'';
installPhase = ''
mkdir -p $out/lib/clap
cp -r usr/local/lib/clap/OsTIrus.clap $out/lib/clap/
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/OsTIrus.clap
'';
meta = with lib; {
homepage = "https://dsp56300.wordpress.com/ostirus/";
description = "OsTIrus";
platforms = platforms.linux;
};
}

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,37 @@
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
stdenv.mkDerivation rec {
pname = "vavra";
version = "latest";
src = fetchurl {
url = "https://futurenoize.com/dsp56300/builds/vavra/beta/DSP56300Emu-1.4.0-Linux_x86_64-Vavra-CLAP.zip";
sha256 = "sha256-ed5Rd3gk0ySe85232RDSIDknnw74EtQBrmkWwmick0g=";
};
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
buildInputs = with pkgs; [
freetype
fontconfig
alsa-lib
pipewire
stdenv.cc.cc.lib
];
unpackPhase = ''
unzip $src
'';
installPhase = ''
mkdir -p $out/lib/clap
cp -r usr/local/lib/clap/Vavra.clap $out/lib/clap/
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/Vavra.clap
'';
meta = with lib; {
homepage = "https://dsp56300.wordpress.com/vavra/";
description = "Vavra";
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,45 @@
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
stdenv.mkDerivation rec {
pname = "xenia";
version = "latest";
src = fetchurl {
url = "https://futurenoize.com/dsp56300/builds/xenia/beta/DSP56300Emu-1.4.0-Linux_x86_64-Xenia-CLAP.zip";
sha256 = "sha256-iCsJfzif6NHPSxZbNxKmUxTNhQeKGlx9E2V3+2sbgww=";
};
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
buildInputs = with pkgs; [
freetype
fontconfig
alsa-lib
pipewire
mesa
freeglut
pkg-config
stdenv.cc.cc.lib
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXinerama
xorg.libXcomposite
];
unpackPhase = ''
unzip $src
'';
installPhase = ''
mkdir -p $out/lib/clap
cp -r usr/local/lib/clap/Xenia.clap $out/lib/clap/
'';
postFixup = ''
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/Xenia.clap
'';
meta = with lib; {
homepage = "https://dsp56300.wordpress.com/xenia/";
description = "Xenia";
platforms = platforms.linux;
};
}