2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
|
|
|
, ladspaH
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "cmt";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.17";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "http://www.ladspa.org/download/cmt_${version}.tgz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "07xd0xmwpa0j12813jpf87fr9hwzihii5l35mp8ady7xxfmxfmpb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ladspaH ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
installFlags = [ "INSTALL_PLUGINS_DIR=${placeholder "out"}/lib/ladspa" ];
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/lib/ladspa
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Computer Music Toolkit";
|
|
|
|
homepage = "https://www.ladspa.org/cmt";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ sjfloat ];
|
|
|
|
};
|
|
|
|
}
|