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/ostirus/ostirus.nix
Normal file
37
packages/the-usual-suspects/ostirus/ostirus.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue