Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
62 lines
1.5 KiB
Nix
62 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
faust2jack,
|
|
faust2lv2,
|
|
helmholtz,
|
|
mrpeach,
|
|
puredata-with-plugins,
|
|
jack-example-tools,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "VoiceOfFaust";
|
|
version = "1.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "magnetophon";
|
|
repo = "VoiceOfFaust";
|
|
tag = "V${version}";
|
|
sha256 = "sha256-wsc4yzytK2hPVBQwMhdhjnH1pDtpkNCFJnItyzszEs0=";
|
|
};
|
|
|
|
plugins = [
|
|
helmholtz
|
|
mrpeach
|
|
];
|
|
|
|
pitchTracker = puredata-with-plugins plugins;
|
|
|
|
nativeBuildInputs = [
|
|
faust2jack
|
|
faust2lv2
|
|
];
|
|
|
|
# ld: crtbegin.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object
|
|
# ld: failed to set dynamic section sizes: bad value
|
|
hardeningDisable = [ "pie" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
];
|
|
|
|
patchPhase = ''
|
|
sed -i "s@jack_connect@${jack-example-tools}/bin/jack_connect@g" launchers/synthWrapper
|
|
sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/pitchTracker
|
|
sed -i "s@../PureData/OscSendVoc.pd@$out/bin/PureData/OscSendVoc.pd@g" launchers/pitchTracker
|
|
sed -i "s@pd -nodac@${pitchTracker}/bin/pd -nodac@g" launchers/pitchTrackerGUI
|
|
sed -i "s@../PureData/OscSendVoc.pd@$out/bin/PureData/OscSendVoc.pd@g" launchers/pitchTrackerGUI
|
|
'';
|
|
|
|
meta = {
|
|
description = "Turn your voice into a synthesizer";
|
|
homepage = "https://github.com/magnetophon/VoiceOfFaust";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
};
|
|
}
|