1 { lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsa-lib, libjack2
2 , libclxclient, libX11, libXft, readline, aeolus-stops
5 stdenv.mkDerivation rec {
10 url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
11 sha256 = "sha256-J9xrd/N4LrvGgi89Yj4ob4ZPUAEchrXJJQ+YVJ29Qhk=";
15 libclthreads zita-alsa-pcmi alsa-lib libjack2 libclxclient
16 libX11 libXft readline
20 sed -i source/Makefile -e /ldconfig/d
21 substituteInPlace source/main.cc --replace /etc/ "$out/etc/"
24 preBuild = "cd source";
26 makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
28 postInstall = let cfg = ''
29 # Aeolus system wide default options
30 # Ignored if ~/.aeolusrc with local options exists
31 -u -S ${aeolus-stops}/${aeolus-stops.subdir}
34 echo -n "${cfg}" > $out/etc/aeolus.conf
38 description = "Synthetized (not sampled) pipe organ emulator";
39 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
40 license = licenses.lgpl3;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ nico202 orivej ];
43 mainProgram = "aeolus";