diff options
author | Bart Brouns <bart@magnetopon.nl> | 2015-05-30 17:44:33 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetopon.nl> | 2015-05-31 15:35:12 +0200 |
commit | 5725d6ae7d0e197f02238f871ebbd66252bbd0a9 (patch) | |
tree | a771711985866aeb76c6adf5b9b349d5d2416c36 /pkgs/applications/audio/MBdistortion | |
parent | 7c09d9d2915317580e14733cde839f88b08a5718 (diff) | |
download | nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar.gz nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar.bz2 nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar.lz nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar.xz nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.tar.zst nixlib-5725d6ae7d0e197f02238f871ebbd66252bbd0a9.zip |
init MBdistortion at v1.1
Diffstat (limited to 'pkgs/applications/audio/MBdistortion')
-rw-r--r-- | pkgs/applications/audio/MBdistortion/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/MBdistortion/default.nix b/pkgs/applications/audio/MBdistortion/default.nix new file mode 100644 index 000000000000..c70ab5782597 --- /dev/null +++ b/pkgs/applications/audio/MBdistortion/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, faust2jack, faust2lv2 }: +stdenv.mkDerivation rec { + name = "MBdistortion-${version}"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "magnetophon"; + repo = "MBdistortion"; + rev = "v${version}"; + sha256 = "1rmvfi48hg8ybfw517zgj3fjj2xzckrmv8x131i26vj0fv7svjsp"; + }; + + buildInputs = [ faust2jack faust2lv2 ]; + + buildPhase = '' + faust2jack -t 99999 MBdistortion.dsp + faust2lv2 -t 99999 MBdistortion.dsp + ''; + + installPhase = '' + mkdir -p $out/bin + cp MBdistortion $out/bin/ + mkdir -p $out/lib/lv2 + cp -r MBdistortion.lv2/ $out/lib/lv2 + ''; + + meta = { + description = "Mid-side multiband distortion for jack and lv2"; + homepage = https://github.com/magnetophon/MBdistortion; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.magnetophon ]; + }; +} |