summary refs log tree commit diff
path: root/pkgs/applications/audio/constant-detune-chorus/default.nix
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetopon.nl>2015-05-30 22:17:03 +0200
committerBart Brouns <bart@magnetopon.nl>2015-05-31 14:58:49 +0200
commit0eca39174b8b52e87ec25a2e55425cdb055b0948 (patch)
tree11b26369b9af5401844dd8010db5a0ee9bf2f713 /pkgs/applications/audio/constant-detune-chorus/default.nix
parent7c09d9d2915317580e14733cde839f88b08a5718 (diff)
downloadnixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar.gz
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar.bz2
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar.lz
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar.xz
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.tar.zst
nixpkgs-0eca39174b8b52e87ec25a2e55425cdb055b0948.zip
init CharacterCompressor CompBus RhythmDelay constant-detune-chorus
Basically the same pkg,but with different sources
Diffstat (limited to 'pkgs/applications/audio/constant-detune-chorus/default.nix')
-rw-r--r--pkgs/applications/audio/constant-detune-chorus/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/constant-detune-chorus/default.nix b/pkgs/applications/audio/constant-detune-chorus/default.nix
new file mode 100644
index 00000000000..54fe4c866d5
--- /dev/null
+++ b/pkgs/applications/audio/constant-detune-chorus/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }:
+stdenv.mkDerivation rec {
+  name = "constant-detune-chorus-${version}";
+  version = "0.1.01";
+
+  src = fetchFromGitHub {
+    owner = "magnetophon";
+    repo = "constant-detune-chorus";
+    rev = "v${version}";
+    sha256 = "1z8aj1a36ix9jizk9wl06b3i98hrkg47qxqp8vx930r624pc5z86";
+  };
+
+  buildInputs = [ faust2jack faust2lv2 ];
+
+  buildPhase = ''
+    faust2jack -t 99999 constant-detune-chorus.dsp
+    faust2lv2 -t 99999 constant-detune-chorus.dsp
+  '';
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp constant-detune-chorus $out/bin/
+    mkdir -p $out/lib/lv2
+    cp -r constant-detune-chorus.lv2/ $out/lib/lv2
+  '';
+
+  meta = {
+    description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
+    homepage = https://github.com/magnetophon/constant-detune-chorus;
+    license = stdenv.lib.licenses.gpl3;
+    maintainers = [ stdenv.lib.maintainers.magnetophon ];
+  };
+}