mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
6cf87da34e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/guitarix/versions. These checks were done: - built on NixOS - /nix/store/75d02i1k7n87j0qb3sd10kxf4v70sdsc-guitarix-0.37.1/bin/guitarix passed the binary check. - /nix/store/75d02i1k7n87j0qb3sd10kxf4v70sdsc-guitarix-0.37.1/bin/.guitarix-wrapped passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - found 0.37.1 with grep in /nix/store/75d02i1k7n87j0qb3sd10kxf4v70sdsc-guitarix-0.37.1 - directory tree listing: https://gist.github.com/85b2e7786143f42e961c06cbde8de90b - du listing: https://gist.github.com/6ef7508c8fd678e37bed9c76a4e00f34
77 lines
2.8 KiB
Nix
77 lines
2.8 KiB
Nix
{ stdenv, fetchurl, gettext, intltool, pkgconfig, python2
|
|
, avahi, bluez, boost, eigen, fftw, glib, glib-networking
|
|
, glibmm, gsettings-desktop-schemas, gtkmm2, libjack2
|
|
, ladspaH, libav, librdf, libsndfile, lilv, lv2, serd, sord, sratom
|
|
, wrapGAppsHook, zita-convolver, zita-resampler
|
|
, optimizationSupport ? false # Enable support for native CPU extensions
|
|
}:
|
|
|
|
let
|
|
inherit (stdenv.lib) optional;
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "guitarix-${version}";
|
|
version = "0.37.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
|
|
sha256 = "064k0jzxqgx9gwf8za6jziansabzrwzjaim3qx1743ify5g3gaai";
|
|
};
|
|
|
|
nativeBuildInputs = [ gettext intltool wrapGAppsHook pkgconfig python2 ];
|
|
|
|
buildInputs = [
|
|
avahi bluez boost eigen fftw glib glibmm glib-networking.out
|
|
gsettings-desktop-schemas gtkmm2 libjack2 ladspaH libav librdf
|
|
libsndfile lilv lv2 serd sord sratom zita-convolver
|
|
zita-resampler
|
|
];
|
|
|
|
configureFlags = [
|
|
"--shared-lib"
|
|
"--no-desktop-update"
|
|
"--enable-nls"
|
|
"--no-faust" # todo: find out why --faust doesn't work
|
|
"--install-roboto-font"
|
|
"--includeresampler"
|
|
"--convolver-ffmpeg"
|
|
] ++ optional optimizationSupport "--optimization";
|
|
|
|
configurePhase = ''python2 waf configure --prefix=$out $configureFlags'';
|
|
|
|
buildPhase = ''python2 waf build'';
|
|
|
|
installPhase = ''python2 waf install'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A virtual guitar amplifier for Linux running with JACK";
|
|
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.
|
|
'';
|
|
homepage = http://guitarix.sourceforge.net/;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ astsmtl goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|