2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
appstream-glib,
|
|
|
|
calf,
|
|
|
|
deepfilternet,
|
|
|
|
desktop-file-utils,
|
|
|
|
fftw,
|
|
|
|
fftwFloat,
|
|
|
|
fmt_9,
|
|
|
|
glib,
|
|
|
|
gsl,
|
|
|
|
gtk4,
|
|
|
|
itstool,
|
|
|
|
ladspaH,
|
|
|
|
libadwaita,
|
|
|
|
libbs2b,
|
|
|
|
libebur128,
|
|
|
|
libportal-gtk4,
|
|
|
|
libsamplerate,
|
|
|
|
libsigcxx30,
|
|
|
|
libsndfile,
|
|
|
|
lilv,
|
|
|
|
lsp-plugins,
|
|
|
|
lv2,
|
|
|
|
mda_lv2,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
nix-update-script,
|
|
|
|
nlohmann_json,
|
|
|
|
pipewire,
|
|
|
|
pkg-config,
|
|
|
|
rnnoise,
|
|
|
|
rubberband,
|
|
|
|
soundtouch,
|
2024-09-19 14:19:46 +00:00
|
|
|
speexdsp,
|
2024-07-27 06:49:29 +00:00
|
|
|
tbb,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
zam-plugins,
|
|
|
|
zita-convolver,
|
2021-07-14 22:03:04 +00:00
|
|
|
}:
|
2024-09-19 14:19:46 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
let
|
|
|
|
# Fix crashes with speexdsp effects
|
|
|
|
speexdsp' = speexdsp.override { withFftw3 = false; };
|
|
|
|
in
|
2021-07-14 22:03:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "easyeffects";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "7.1.9";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wwmm";
|
|
|
|
repo = "easyeffects";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-It+kldlhThWF9y/rTgKt9QlIouH1cQcCtSHQTsaGjfo=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2021-10-17 02:12:59 +00:00
|
|
|
wrapGAppsHook4
|
2021-07-14 22:03:04 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-01-02 11:29:13 +00:00
|
|
|
appstream-glib
|
2024-02-29 20:09:43 +00:00
|
|
|
deepfilternet
|
2022-12-17 10:02:37 +00:00
|
|
|
fftw
|
2021-07-14 22:03:04 +00:00
|
|
|
fftwFloat
|
2022-12-17 10:02:37 +00:00
|
|
|
fmt_9
|
2021-07-14 22:03:04 +00:00
|
|
|
glib
|
2022-12-17 10:02:37 +00:00
|
|
|
gsl
|
2021-07-14 22:03:04 +00:00
|
|
|
gtk4
|
2024-01-02 11:29:13 +00:00
|
|
|
ladspaH
|
2022-02-10 20:34:41 +00:00
|
|
|
libadwaita
|
2021-07-14 22:03:04 +00:00
|
|
|
libbs2b
|
|
|
|
libebur128
|
2024-01-02 11:29:13 +00:00
|
|
|
libportal-gtk4
|
2021-07-14 22:03:04 +00:00
|
|
|
libsamplerate
|
2022-02-10 20:34:41 +00:00
|
|
|
libsigcxx30
|
2021-07-14 22:03:04 +00:00
|
|
|
libsndfile
|
|
|
|
lilv
|
|
|
|
lv2
|
|
|
|
nlohmann_json
|
|
|
|
pipewire
|
|
|
|
rnnoise
|
|
|
|
rubberband
|
2023-07-15 17:15:38 +00:00
|
|
|
soundtouch
|
2024-07-27 06:49:29 +00:00
|
|
|
speexdsp'
|
2022-02-10 20:34:41 +00:00
|
|
|
tbb
|
2021-07-14 22:03:04 +00:00
|
|
|
zita-convolver
|
|
|
|
];
|
|
|
|
|
|
|
|
preFixup =
|
|
|
|
let
|
|
|
|
lv2Plugins = [
|
2021-10-17 02:12:59 +00:00
|
|
|
calf # compressor exciter, bass enhancer and others
|
|
|
|
lsp-plugins # delay, limiter, multiband compressor
|
|
|
|
mda_lv2 # loudness
|
|
|
|
zam-plugins # maximizer
|
2021-07-14 22:03:04 +00:00
|
|
|
];
|
|
|
|
ladspaPlugins = [
|
2024-02-29 20:09:43 +00:00
|
|
|
deepfilternet # deep noise remover
|
2021-07-14 22:03:04 +00:00
|
|
|
rubberband # pitch shifting
|
|
|
|
];
|
|
|
|
in
|
|
|
|
''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--set LV2_PATH "${lib.makeSearchPath "lib/lv2" lv2Plugins}"
|
|
|
|
--set LADSPA_PATH "${lib.makeSearchPath "lib/ladspa" ladspaPlugins}"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
|
|
|
separateDebugInfo = true;
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script { };
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Audio effects for PipeWire applications";
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "https://github.com/wwmm/easyeffects";
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/wwmm/easyeffects/blob/v${version}/CHANGELOG.md";
|
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ getchoo ];
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "easyeffects";
|
2024-07-27 06:49:29 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|