mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
34 lines
866 B
Nix
34 lines
866 B
Nix
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "RhythmDelay";
|
|
version = "2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "magnetophon";
|
|
repo = "RhythmDelay";
|
|
rev = "V${version}";
|
|
sha256 = "1j0bjl9agz43dcrcrbiqd7fv7xsxgd65s4ahhv5pvcr729y0fxg4";
|
|
};
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
buildPhase = ''
|
|
faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
|
|
faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp RhythmDelay $out/bin/
|
|
mkdir -p $out/lib/lv2
|
|
cp -r RhythmDelay.lv2/ $out/lib/lv2
|
|
'';
|
|
|
|
meta = {
|
|
description = "Tap a rhythm into your delay! For jack and lv2";
|
|
homepage = "https://github.com/magnetophon/RhythmDelay";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
};
|
|
}
|