2021-07-11 22:41:42 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-07-07 13:37:48 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, fetchFromGitHub
|
2021-07-11 22:41:42 +00:00
|
|
|
, calf
|
2022-11-14 11:07:06 +00:00
|
|
|
, fftw
|
2021-07-07 13:37:48 +00:00
|
|
|
, fftwFloat
|
2022-11-14 11:07:06 +00:00
|
|
|
, fmt_9
|
2021-07-07 13:37:48 +00:00
|
|
|
, glib
|
2022-11-14 11:07:06 +00:00
|
|
|
, gsl
|
2021-07-07 13:37:48 +00:00
|
|
|
, gtk4
|
|
|
|
, itstool
|
2022-02-08 18:29:15 +00:00
|
|
|
, libadwaita
|
2021-07-07 13:37:48 +00:00
|
|
|
, libbs2b
|
|
|
|
, libebur128
|
|
|
|
, libsamplerate
|
2022-02-08 18:29:15 +00:00
|
|
|
, libsigcxx30
|
2021-07-07 13:37:48 +00:00
|
|
|
, libsndfile
|
|
|
|
, lilv
|
2021-07-11 22:41:42 +00:00
|
|
|
, lsp-plugins
|
2021-07-07 13:37:48 +00:00
|
|
|
, lv2
|
2021-10-14 00:07:15 +00:00
|
|
|
, mda_lv2
|
2021-07-07 13:37:48 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, nlohmann_json
|
|
|
|
, pipewire
|
|
|
|
, pkg-config
|
|
|
|
, rnnoise
|
|
|
|
, rubberband
|
|
|
|
, speexdsp
|
2023-09-18 17:09:41 +00:00
|
|
|
, soundtouch
|
2022-02-08 18:29:15 +00:00
|
|
|
, tbb
|
2021-10-13 23:59:05 +00:00
|
|
|
, wrapGAppsHook4
|
2021-07-11 22:41:42 +00:00
|
|
|
, zam-plugins
|
2021-07-07 13:37:48 +00:00
|
|
|
, zita-convolver
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "easyeffects";
|
2023-09-18 17:09:41 +00:00
|
|
|
version = "7.1.0";
|
2021-07-07 13:37:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wwmm";
|
|
|
|
repo = "easyeffects";
|
|
|
|
rev = "v${version}";
|
2023-09-18 17:09:41 +00:00
|
|
|
hash = "sha256-TuVW2KBJciuFVdduzfFepGOa+UY9+sXRN1gWhfDvXgw=";
|
2021-07-07 13:37:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2021-10-13 23:59:05 +00:00
|
|
|
wrapGAppsHook4
|
2021-07-07 13:37:48 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-11-14 11:07:06 +00:00
|
|
|
fftw
|
2021-07-07 13:37:48 +00:00
|
|
|
fftwFloat
|
2022-11-14 11:07:06 +00:00
|
|
|
fmt_9
|
2021-07-07 13:37:48 +00:00
|
|
|
glib
|
2022-11-14 11:07:06 +00:00
|
|
|
gsl
|
2021-07-07 13:37:48 +00:00
|
|
|
gtk4
|
2022-02-08 18:29:15 +00:00
|
|
|
libadwaita
|
2021-07-07 13:37:48 +00:00
|
|
|
libbs2b
|
|
|
|
libebur128
|
|
|
|
libsamplerate
|
2022-02-08 18:29:15 +00:00
|
|
|
libsigcxx30
|
2021-07-07 13:37:48 +00:00
|
|
|
libsndfile
|
|
|
|
lilv
|
|
|
|
lv2
|
|
|
|
nlohmann_json
|
|
|
|
pipewire
|
|
|
|
rnnoise
|
|
|
|
rubberband
|
2023-07-02 19:47:01 +00:00
|
|
|
soundtouch
|
2021-07-07 13:37:48 +00:00
|
|
|
speexdsp
|
2022-02-08 18:29:15 +00:00
|
|
|
tbb
|
2021-07-07 13:37:48 +00:00
|
|
|
zita-convolver
|
|
|
|
];
|
|
|
|
|
2021-07-11 22:41:42 +00:00
|
|
|
preFixup =
|
|
|
|
let
|
|
|
|
lv2Plugins = [
|
2021-10-14 00:23:31 +00:00
|
|
|
calf # compressor exciter, bass enhancer and others
|
|
|
|
lsp-plugins # delay, limiter, multiband compressor
|
2021-10-14 00:07:15 +00:00
|
|
|
mda_lv2 # loudness
|
2021-10-14 00:13:11 +00:00
|
|
|
zam-plugins # maximizer
|
2021-07-11 22:41:42 +00:00
|
|
|
];
|
|
|
|
ladspaPlugins = [
|
|
|
|
rubberband # pitch shifting
|
|
|
|
];
|
|
|
|
in
|
|
|
|
''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--set LV2_PATH "${lib.makeSearchPath "lib/lv2" lv2Plugins}"
|
|
|
|
--set LADSPA_PATH "${lib.makeSearchPath "lib/ladspa" ladspaPlugins}"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2021-07-07 13:37:48 +00:00
|
|
|
separateDebugInfo = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Audio effects for PipeWire applications.";
|
|
|
|
homepage = "https://github.com/wwmm/easyeffects";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-01-31 14:21:37 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-07-07 13:37:48 +00:00
|
|
|
platforms = platforms.linux;
|
2023-08-04 15:54:47 +00:00
|
|
|
mainProgram = "easyeffects";
|
2021-07-07 13:37:48 +00:00
|
|
|
};
|
|
|
|
}
|