6f2fbf5f0b
This fixes hopefully all remaining missing lib inputs, likely introduced as a regression by our recent treewide switch from stdenv.lib to lib. These instances are all I could find using nix-instantiate --parse using the following command: find "$NIXPKGS" -name '*.nix' \ -and ! -path "$NIXPKGS/pkgs/development/interpreters/python/cpython/docs/template.nix" \ -and ! -path '$NIXPKGS/.git/**' \ -print0 | xargs -0 nix-instantiate --parse >/dev/null
33 lines
865 B
Nix
33 lines
865 B
Nix
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "MBdistortion";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "magnetophon";
|
|
repo = "MBdistortion";
|
|
rev = "V${version}";
|
|
sha256 = "0mdzaqmxzgspfgx9w1hdip18y17hwpdcgjyq1rrfm843vkascwip";
|
|
};
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
buildPhase = ''
|
|
faust2jaqt -time -vec -t 99999 MBdistortion.dsp
|
|
faust2lv2 -time -vec -gui -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 = lib.licenses.gpl2;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
};
|
|
}
|