2016-11-07 16:06:35 +03:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 23:17:03 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "CharacterCompressor";
|
2016-11-07 16:06:35 +03:00
|
|
|
version = "0.3.3";
|
2015-05-30 23:17:03 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "CharacterCompressor";
|
2016-07-25 22:52:06 +03:00
|
|
|
rev = "V${version}";
|
2016-11-07 16:06:35 +03:00
|
|
|
sha256 = "1h0bhjhx023476gbijq842b6f8z71zcyn4c9mddwyb18w9cdamp5";
|
2015-05-30 23:17:03 +03:00
|
|
|
};
|
|
|
|
|
2016-11-07 16:06:35 +03:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 23:17:03 +03:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-07-25 22:52:06 +03:00
|
|
|
faust2jaqt -vec -time -t 99999 CharacterCompressor.dsp
|
|
|
|
faust2jaqt -vec -time -t 99999 CharacterCompressorMono.dsp
|
2016-11-07 16:06:35 +03:00
|
|
|
faust2lv2 -vec -time -gui -t 99999 CharacterCompressor.dsp
|
2016-07-25 22:52:06 +03:00
|
|
|
faust2lv2 -vec -time -gui -t 99999 CharacterCompressorMono.dsp
|
2015-05-30 23:17:03 +03:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp CharacterCompressor $out/bin/
|
2016-07-25 22:52:06 +03:00
|
|
|
cp CharacterCompressorMono $out/bin/
|
2015-05-30 23:17:03 +03:00
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
cp -r CharacterCompressor.lv2/ $out/lib/lv2
|
2016-07-25 22:52:06 +03:00
|
|
|
cp -r CharacterCompressorMono.lv2/ $out/lib/lv2
|
2015-05-30 23:17:03 +03:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A compressor with character. For jack and lv2";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/magnetophon/CharacterCompressor";
|
2015-05-30 23:17:03 +03:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|