git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8078 from magnetophon/magnetophonDSP-master

init CharacterCompressor CompBus RhythmDelay constant-detune-chorus

commit6ad663fa9029ea064b1163ffe830510785d8273e authorlethalman <lucabru@src.gnome.org> dateMon 8 Jun 2015, 16:42 (11 years ago) parent794feb70eca391
5 files changed+146
pkgs/applications/audio/CharacterCompressor/default.nix+33 pkgs/applications/audio/CompBus/default.nix+39 pkgs/applications/audio/RhythmDelay/default.nix+33 pkgs/applications/audio/constant-detune-chorus/default.nix+33 pkgs/top-level/all-packages.nix+8
pkgs/applications/audio/CharacterCompressor/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "CharacterCompressor-${version}";
4+ version = "0.2";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "CharacterCompressor";
9+ rev = "v${version}";
10+ sha256 = "0fvi8m4nshcxypn4jgxhnh7pxp68wshhav3k8wn3il7qpw71pdxi";
11+ };
12+
13+ buildInputs = [ faust2jack faust2lv2 ];
14+
15+ buildPhase = ''
16+ faust2jack -t 99999 CharacterCompressor.dsp
17+ faust2lv2 -t 99999 CharacterCompressor.dsp
18+ '';
19+
20+ installPhase = ''
21+ mkdir -p $out/bin
22+ cp CharacterCompressor $out/bin/
23+ mkdir -p $out/lib/lv2
24+ cp -r CharacterCompressor.lv2/ $out/lib/lv2
25+ '';
26+
27+ meta = {
28+ description = "A compressor with character. For jack and lv2";
29+ homepage = https://github.com/magnetophon/CharacterCompressor;
30+ license = stdenv.lib.licenses.gpl3;
31+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
32+ };
33+}
pkgs/applications/audio/CompBus/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "CompBus-${version}";
4+ version = "1.1.02";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "CompBus";
9+ rev = "v${version}";
10+ sha256 = "025vi60caxk3j2vxxrgbc59xlyr88vgn7k3127s271zvpyy7apwh";
11+ };
12+
13+ buildInputs = [ faust2jack faust2lv2 ];
14+
15+ buildPhase = ''
16+ for f in *.dsp;
17+ do
18+ faust2jack -t 99999 $f
19+ faust2lv2 -t 99999 $f
20+ done
21+ '';
22+
23+ installPhase = ''
24+ mkdir -p $out/lib/lv2
25+ mv *.lv2/ $out/lib/lv2
26+ mkdir -p $out/bin
27+ for f in $(find . -executable -type f);
28+ do
29+ cp $f $out/bin/
30+ done
31+ '';
32+
33+ meta = {
34+ description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
35+ homepage = https://github.com/magnetophon/CompBus;
36+ license = stdenv.lib.licenses.gpl3;
37+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
38+ };
39+}
pkgs/applications/audio/RhythmDelay/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "RhythmDelay-${version}";
4+ version = "2.0";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "RhythmDelay";
9+ rev = "v${version}";
10+ sha256 = "0n938nm08mf3lz92k6v07k1469xxzmfkgclw40jgdssfcfa16bn7";
11+ };
12+
13+ buildInputs = [ faust2jack faust2lv2 ];
14+
15+ buildPhase = ''
16+ faust2jack -t 99999 RhythmDelay.dsp
17+ faust2lv2 -t 99999 RhythmDelay.dsp
18+ '';
19+
20+ installPhase = ''
21+ mkdir -p $out/bin
22+ cp RhythmDelay $out/bin/
23+ mkdir -p $out/lib/lv2
24+ cp -r RhythmDelay.lv2/ $out/lib/lv2
25+ '';
26+
27+ meta = {
28+ description = "Tap a rhythm into your delay! For jack and lv2";
29+ homepage = https://github.com/magnetophon/RhythmDelay;
30+ license = stdenv.lib.licenses.gpl3;
31+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
32+ };
33+}
pkgs/applications/audio/constant-detune-chorus/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }:
2+stdenv.mkDerivation rec {
3+ name = "constant-detune-chorus-${version}";
4+ version = "0.1.01";
5+
6+ src = fetchFromGitHub {
7+ owner = "magnetophon";
8+ repo = "constant-detune-chorus";
9+ rev = "v${version}";
10+ sha256 = "1z8aj1a36ix9jizk9wl06b3i98hrkg47qxqp8vx930r624pc5z86";
11+ };
12+
13+ buildInputs = [ faust2jack faust2lv2 ];
14+
15+ buildPhase = ''
16+ faust2jack -t 99999 constant-detune-chorus.dsp
17+ faust2lv2 -t 99999 constant-detune-chorus.dsp
18+ '';
19+
20+ installPhase = ''
21+ mkdir -p $out/bin
22+ cp constant-detune-chorus $out/bin/
23+ mkdir -p $out/lib/lv2
24+ cp -r constant-detune-chorus.lv2/ $out/lib/lv2
25+ '';
26+
27+ meta = {
28+ description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
29+ homepage = https://github.com/magnetophon/constant-detune-chorus;
30+ license = stdenv.lib.licenses.gpl3;
31+ maintainers = [ stdenv.lib.maintainers.magnetophon ];
32+ };
33+}
pkgs/top-level/all-packages.nix+8
@@ -10607,6 +10607,8 @@ let
1060710607 amdappsdk = amdappsdk28;
1060810608 };
1060910609
10610+ CharacterCompressor = callPackage ../applications/audio/CharacterCompressor { };
10611+
1061010612 chatzilla = callPackage ../applications/networking/irc/chatzilla { };
1061110613
1061210614 chromium = callPackage ../applications/networking/browsers/chromium {
@@ -10642,10 +10644,14 @@ let
1064210644
1064310645 cmus = callPackage ../applications/audio/cmus { };
1064410646
10647+ CompBus = callPackage ../applications/audio/CompBus { };
10648+
1064510649 compiz = callPackage ../applications/window-managers/compiz {
1064610650 inherit (gnome) GConf ORBit2 metacity;
1064710651 };
1064810652
10653+ constant-detune-chorus = callPackage ../applications/audio/constant-detune-chorus { };
10654+
1064910655 coriander = callPackage ../applications/video/coriander {
1065010656 inherit (gnome) libgnomeui GConf;
1065110657 };
@@ -12220,6 +12226,8 @@ let
1222012226 qt = qt4;
1222112227 });
1222212228
12229+ RhythmDelay = callPackage ../applications/audio/RhythmDelay { };
12230+
1222312231 rofi = callPackage ../applications/misc/rofi {
1222412232 automake = automake114x;
1222512233 };