2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2024-04-21 15:54:59 +00:00
|
|
|
, fetchFromGitHub
|
2020-06-18 07:06:33 +00:00
|
|
|
, avahi
|
|
|
|
, bluez
|
|
|
|
, boost
|
|
|
|
, curl
|
|
|
|
, eigen
|
2022-09-09 14:08:57 +00:00
|
|
|
, faust
|
2020-06-18 07:06:33 +00:00
|
|
|
, fftw
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, glib-networking
|
|
|
|
, glibmm
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-06-18 07:06:33 +00:00
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtk3
|
|
|
|
, gtkmm3
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, intltool
|
|
|
|
, ladspaH
|
|
|
|
, libjack2
|
|
|
|
, libsndfile
|
|
|
|
, lilv
|
|
|
|
, lrdf
|
|
|
|
, lv2
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2021-10-11 16:52:03 +00:00
|
|
|
, python3
|
2020-06-18 07:06:33 +00:00
|
|
|
, sassc
|
|
|
|
, serd
|
|
|
|
, sord
|
|
|
|
, sratom
|
|
|
|
, wafHook
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2020-06-18 07:06:33 +00:00
|
|
|
, zita-convolver
|
|
|
|
, zita-resampler
|
2020-04-24 23:36:52 +00:00
|
|
|
, optimizationSupport ? false # Enable support for native CPU extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2021-01-17 00:15:33 +00:00
|
|
|
inherit (lib) optional;
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "guitarix";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.46.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "brummer10";
|
|
|
|
repo = "guitarix";
|
|
|
|
rev = "V${finalAttrs.version}";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
hash = "sha256-AftC6fQEDzG/3C/83YbK/++bRgP7vPD0E2X6KEWpowc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
sourceRoot = "${finalAttrs.src.name}/trunk";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
hicolor-icon-theme
|
|
|
|
intltool
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2021-10-11 16:52:03 +00:00
|
|
|
python3
|
2020-06-18 07:06:33 +00:00
|
|
|
wafHook
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2020-06-18 07:06:33 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2020-06-18 07:06:33 +00:00
|
|
|
avahi
|
|
|
|
bluez
|
|
|
|
boost
|
|
|
|
curl
|
|
|
|
eigen
|
2022-09-09 14:08:57 +00:00
|
|
|
faust
|
2020-06-18 07:06:33 +00:00
|
|
|
fftw
|
|
|
|
glib
|
|
|
|
glib-networking.out
|
|
|
|
glibmm
|
2021-05-20 23:08:51 +00:00
|
|
|
gnome.adwaita-icon-theme
|
2020-06-18 07:06:33 +00:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
gtkmm3
|
|
|
|
ladspaH
|
|
|
|
libjack2
|
|
|
|
libsndfile
|
|
|
|
lilv
|
|
|
|
lrdf
|
|
|
|
lv2
|
|
|
|
sassc
|
|
|
|
serd
|
|
|
|
sord
|
|
|
|
sratom
|
|
|
|
zita-convolver
|
|
|
|
zita-resampler
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
wafConfigureFlags = [
|
2020-06-18 07:06:33 +00:00
|
|
|
"--no-font-cache-update"
|
2020-04-24 23:36:52 +00:00
|
|
|
"--shared-lib"
|
|
|
|
"--no-desktop-update"
|
|
|
|
"--enable-nls"
|
|
|
|
"--install-roboto-font"
|
|
|
|
] ++ optional optimizationSupport "--optimization";
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-fpermissive" ];
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Virtual guitar amplifier for Linux running with JACK";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "guitarix";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
guitarix is a virtual guitar amplifier for Linux running with
|
|
|
|
JACK (Jack Audio Connection Kit). It is free as in speech and
|
|
|
|
free as in beer. Its free sourcecode allows to build it for
|
|
|
|
other UNIX-like systems also, namely for BSD and for MacOSX.
|
|
|
|
|
|
|
|
It takes the signal from your guitar as any real amp would do:
|
|
|
|
as a mono-signal from your sound card. Your tone is processed by
|
|
|
|
a main amp and a rack-section. Both can be routed separately and
|
|
|
|
deliver a processed stereo-signal via JACK. You may fill the
|
|
|
|
rack with effects from more than 25 built-in modules spanning
|
|
|
|
from a simple noise-gate to brain-slashing modulation-fx like
|
|
|
|
flanger, phaser or auto-wah. Your signal is processed with
|
|
|
|
minimum latency. On any properly set-up Linux-system you do not
|
|
|
|
need to wait for more than 10 milli-seconds for your playing to
|
|
|
|
be delivered, processed by guitarix.
|
|
|
|
|
|
|
|
guitarix offers the range of sounds you would expect from a
|
|
|
|
full-featured universal guitar-amp. You can get crisp
|
|
|
|
clean-sounds, nice overdrive, fat distortion and a diversity of
|
|
|
|
crazy sounds never heard before.
|
|
|
|
'';
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/brummer10/guitarix";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [ astsmtl goibhniu lord-valen ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
})
|