aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/cmt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/cmt/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/cmt/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/cmt/default.nix b/nixpkgs/pkgs/applications/audio/cmt/default.nix
new file mode 100644
index 00000000000..96cc3c57319
--- /dev/null
+++ b/nixpkgs/pkgs/applications/audio/cmt/default.nix
@@ -0,0 +1,33 @@
+{ stdenv
+, fetchurl
+, ladspaH
+}:
+
+stdenv.mkDerivation rec {
+ name = "cmt";
+ version = "1.17";
+
+ src = fetchurl {
+ url = "http://www.ladspa.org/download/${name}_${version}.tgz";
+ sha256 = "07xd0xmwpa0j12813jpf87fr9hwzihii5l35mp8ady7xxfmxfmpb";
+ };
+
+ buildInputs = [ ladspaH ];
+
+ preBuild = ''
+ cd src
+ '';
+
+ installFlags = [ "INSTALL_PLUGINS_DIR=${placeholder "out"}/lib/ladspa" ];
+ preInstall = ''
+ mkdir -p $out/lib/ladspa
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Computer Music Toolkit";
+ homepage = "https://www.ladspa.org/cmt";
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ sjfloat ];
+ };
+}