mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
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
44 lines
996 B
Nix
44 lines
996 B
Nix
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "CompBus";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "magnetophon";
|
|
repo = "CompBus";
|
|
rev = "V${version}";
|
|
sha256 = "0yhj680zgk4dn4fi8j3apm72f3z2mjk12amf2a7p0lwn9iyh4a2z";
|
|
};
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
buildPhase = ''
|
|
for f in *.dsp;
|
|
do
|
|
faust2jaqt -time -vec -double -t 99999 $f
|
|
done
|
|
|
|
for f in *.dsp;
|
|
do
|
|
faust2lv2 -time -vec -double -gui -t 99999 $f
|
|
done
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/lv2
|
|
mv *.lv2/ $out/lib/lv2
|
|
mkdir -p $out/bin
|
|
for f in $(find . -executable -type f);
|
|
do
|
|
cp $f $out/bin/
|
|
done
|
|
'';
|
|
|
|
meta = {
|
|
description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
|
|
homepage = "https://github.com/magnetophon/CompBus";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
};
|
|
}
|