adding the usual suspects emulator plugins
This commit is contained in:
parent
ae3f40b06f
commit
e998e632b4
14 changed files with 199 additions and 3 deletions
37
packages/the-usual-suspects/osirus/osirus.nix
Normal file
37
packages/the-usual-suspects/osirus/osirus.nix
Normal 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;
|
||||
};
|
||||
}
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue