2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2018-10-04 02:35:27 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "Tambura";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "olilarkin";
|
2019-09-08 23:38:31 +00:00
|
|
|
repo = pname;
|
2018-10-04 02:35:27 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1w80cmiyzca1wirf5gypg3hcix1ky777id8wnd3k92mn1jf4a24y";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
faust2jaqt -vec -time -t 99999 ${pname}.dsp
|
|
|
|
faust2lv2 -vec -time -gui -t 99999 ${pname}.dsp
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ${pname} $out/bin/
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
cp -r ${pname}.lv2/ $out/lib/lv2
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-04 02:35:27 +00:00
|
|
|
description = "A FAUST patch inspired by the Indian Tambura/Tanpura - a four string drone instrument, known for its unique rich harmonic timbre";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/olilarkin/Tambura";
|
2018-10-04 02:35:27 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|