2021-07-14 22:03:04 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2024-01-02 11:29:13 +00:00
|
|
|
, appstream-glib
|
2021-07-14 22:03:04 +00:00
|
|
|
, desktop-file-utils
|
2024-02-29 20:09:43 +00:00
|
|
|
, deepfilternet
|
2021-07-14 22:03:04 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, calf
|
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
|
|
|
|
, itstool
|
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
|
|
|
|
, lsp-plugins
|
|
|
|
, lv2
|
2021-10-17 02:12:59 +00:00
|
|
|
, mda_lv2
|
2021-07-14 22:03:04 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, nlohmann_json
|
|
|
|
, pipewire
|
|
|
|
, pkg-config
|
|
|
|
, rnnoise
|
|
|
|
, rubberband
|
|
|
|
, speexdsp
|
2023-10-09 19:29:22 +00:00
|
|
|
, soundtouch
|
2022-02-10 20:34:41 +00:00
|
|
|
, tbb
|
2021-10-17 02:12:59 +00:00
|
|
|
, wrapGAppsHook4
|
2021-07-14 22:03:04 +00:00
|
|
|
, zam-plugins
|
|
|
|
, zita-convolver
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "easyeffects";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "7.1.3";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wwmm";
|
|
|
|
repo = "easyeffects";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-OJy8HhojfpUwWo3zg+FgdFI4pMzWA61VMsdPE03MfeE=";
|
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
|
2021-07-14 22:03:04 +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;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://github.com/wwmm/easyeffects/blob/v${version}/CHANGELOG.md";
|
2021-07-14 22:03:04 +00:00
|
|
|
description = "Audio effects for PipeWire applications.";
|
|
|
|
homepage = "https://github.com/wwmm/easyeffects";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-05-24 13:37:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-07-14 22:03:04 +00:00
|
|
|
platforms = platforms.linux;
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "easyeffects";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|