6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
33 lines
681 B
Nix
33 lines
681 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, ladspaH
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cmt";
|
|
version = "1.18";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.ladspa.org/download/cmt_${version}.tgz";
|
|
sha256 = "sha256-qC+GNt4fSto4ahmaAXqc13Wkm0nnFrEejdP3I8k99so=";
|
|
};
|
|
|
|
buildInputs = [ ladspaH ];
|
|
|
|
preBuild = ''
|
|
cd src
|
|
'';
|
|
|
|
installFlags = [ "INSTALL_PLUGINS_DIR=${placeholder "out"}/lib/ladspa" ];
|
|
preInstall = ''
|
|
mkdir -p $out/lib/ladspa
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Computer Music Toolkit";
|
|
homepage = "https://www.ladspa.org/cmt";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ sjfloat ];
|
|
};
|
|
}
|