2021-02-24 22:24:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 21:17:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "RhythmDelay";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "2.1";
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "RhythmDelay";
|
2016-11-07 13:06:35 +00:00
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "1j0bjl9agz43dcrcrbiqd7fv7xsxgd65s4ahhv5pvcr729y0fxg4";
|
2015-05-30 21:17:03 +01:00
|
|
|
};
|
|
|
|
|
2016-11-07 13:06:35 +00:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-11-07 13:06:35 +00:00
|
|
|
faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
|
|
|
|
faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
|
2015-05-30 21:17:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/magnetophon/RhythmDelay";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
2015-05-30 21:17:03 +01:00
|
|
|
};
|
|
|
|
}
|