2016-07-15 17:47:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, boost, ladspaH, lilv, lv2, pkgconfig, serd, sord, sratom }:
|
2015-05-12 15:28:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-15 17:47:46 +01:00
|
|
|
name = "plugin-torture-${version}";
|
2016-07-27 17:50:36 +01:00
|
|
|
version = "2016-07-25";
|
2015-05-12 15:28:32 +01:00
|
|
|
|
2016-07-15 17:47:46 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cth103";
|
|
|
|
repo = "plugin-torture";
|
2016-07-27 17:50:36 +01:00
|
|
|
rev = "8b9c43197dca372da6b9c8212224ec86b5f16b4a";
|
|
|
|
sha256 = "1xyhvhm85d9z0kw716cjllrrzksn4s4bw34layg8hf4m5m31sp2p";
|
2015-05-12 15:28:32 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ boost ladspaH lilv lv2 serd sord sratom ];
|
2015-05-12 15:28:32 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp plugin-torture $out/bin/
|
2016-07-15 17:47:46 +01:00
|
|
|
cp find-safe-plugins $out/bin/
|
2015-05-12 15:28:32 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/cth103/plugin-torture;
|
|
|
|
description = "A tool to test LADSPA and LV2 plugins";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|