forked from mirrors/nixpkgs
init MBdistortion at v1.1
This commit is contained in:
parent
7c09d9d291
commit
5725d6ae7d
33
pkgs/applications/audio/MBdistortion/default.nix
Normal file
33
pkgs/applications/audio/MBdistortion/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -11703,6 +11703,8 @@ let
|
|||
|
||||
matchbox = callPackage ../applications/window-managers/matchbox { };
|
||||
|
||||
MBdistortion = callPackage ../applications/audio/MBdistortion { };
|
||||
|
||||
mcpp = callPackage ../development/compilers/mcpp { };
|
||||
|
||||
mda_lv2 = callPackage ../applications/audio/mda-lv2 { };
|
||||
|
|
Loading…
Reference in a new issue