changes and one more emulator
This commit is contained in:
parent
0a28efa292
commit
9a01749546
3 changed files with 56 additions and 18 deletions
37
packages/the-usual-suspects/nodal-red/nodal-red.nix
Normal file
37
packages/the-usual-suspects/nodal-red/nodal-red.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nodal-red";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://futurenoize.com/dsp56300/builds/nodalred2x/beta/DSP56300Emu-1.4.1-Linux_x86_64-NodalRed2x-CLAP.zip";
|
||||
sha256 = "sha256-grCZvICiSJTCuoZ/dbaDqxHoAgiVK/BKhvqvvIrlAM8=";
|
||||
};
|
||||
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/NodalRed2x.clap $out/lib/clap/
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/NodalRed2x.clap
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dsp56300.wordpress.com/";
|
||||
description = "NodalRed";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue