nixpkgs/pkgs/applications/audio/cmt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
681 B
Nix
Raw Normal View History

{ lib, stdenv
2020-03-15 20:51:42 +00:00
, fetchurl
, ladspaH
}:
stdenv.mkDerivation rec {
2022-03-22 16:57:23 +00:00
pname = "cmt";
2022-03-30 06:02:50 +00:00
version = "1.18";
2020-03-15 20:51:42 +00:00
src = fetchurl {
2022-03-22 16:57:23 +00:00
url = "http://www.ladspa.org/download/cmt_${version}.tgz";
2022-03-30 06:02:50 +00:00
sha256 = "sha256-qC+GNt4fSto4ahmaAXqc13Wkm0nnFrEejdP3I8k99so=";
2020-03-15 20:51:42 +00:00
};
buildInputs = [ ladspaH ];
preBuild = ''
cd src
'';
installFlags = [ "INSTALL_PLUGINS_DIR=${placeholder "out"}/lib/ladspa" ];
preInstall = ''
mkdir -p $out/lib/ladspa
'';
meta = with lib; {
2020-03-15 20:51:42 +00:00
description = "Computer Music Toolkit";
homepage = "https://www.ladspa.org/cmt";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ sjfloat ];
};
}