nixpkgs/pkgs/applications/audio/easyeffects/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

113 lines
1.8 KiB
Nix
Raw Normal View History

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