2016-11-01 01:28:34 +00:00
|
|
|
{ stdenv, fetchFromGitHub , xorg, freetype, alsaLib, libjack2
|
2016-02-25 10:29:03 +00:00
|
|
|
, lv2, pkgconfig, mesa }:
|
2015-11-17 17:24:39 +00:00
|
|
|
|
2016-02-25 10:29:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-11-01 01:28:34 +00:00
|
|
|
version = "0.8.6";
|
2016-02-25 10:29:03 +00:00
|
|
|
name = "helm-${version}";
|
|
|
|
|
2016-11-01 01:28:34 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mtytel";
|
|
|
|
repo = "helm";
|
|
|
|
rev = "19f86e6b4db83c1c6b143fc27883592ac4e43489";
|
|
|
|
sha256 = "0a46wnbfqkns8l136v79rr9gv4hhba065igjwkjddf045c9l94l8";
|
|
|
|
};
|
2015-11-17 17:24:39 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXcomposite xorg.libXcursor xorg.libXext
|
|
|
|
xorg.libXinerama xorg.libXrender xorg.libXrandr
|
|
|
|
freetype alsaLib libjack2 pkgconfig mesa lv2
|
|
|
|
];
|
|
|
|
|
2016-11-01 01:28:34 +00:00
|
|
|
CXXFLAGS = "-DHAVE_LROUND";
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's|usr/||g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make lv2
|
|
|
|
'';
|
|
|
|
|
2015-11-17 17:24:39 +00:00
|
|
|
installPhase = ''
|
2016-11-01 01:28:34 +00:00
|
|
|
make DESTDIR="$out" install
|
2015-11-17 17:24:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://tytel.org/helm;
|
|
|
|
description = "A free, cross-platform, polyphonic synthesizer";
|
|
|
|
longDescription = ''
|
|
|
|
A free, cross-platform, polyphonic synthesizer.
|
|
|
|
Features:
|
|
|
|
32 voice polyphony
|
|
|
|
Interactive visual interface
|
|
|
|
Powerful modulation system with live visual feedback
|
|
|
|
Dual oscillators with cross modulation and up to 15 oscillators each
|
|
|
|
Unison and Harmony mode for oscillators
|
|
|
|
Oscillator feedback and saturation for waveshaping
|
|
|
|
12 different waveforms
|
|
|
|
7 filter types with keytracking
|
|
|
|
2 monophonic and 1 polyphonic LFO
|
|
|
|
Step sequencer
|
|
|
|
Lots of modulation sources including polyphonic aftertouch
|
|
|
|
Simple arpeggiator
|
|
|
|
Effects: Formant filter, stutter, delay
|
|
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|