at v192 48 lines 1.6 kB view raw
1{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison 2, libjack2, libgig, libsndfile, libtool, lv2, pkgconfig }: 3 4stdenv.mkDerivation rec { 5 name = "linuxsampler-svn-${version}"; 6 version = "2340"; 7 8 src = fetchsvn { 9 url = "https://svn.linuxsampler.org/svn/linuxsampler/trunk"; 10 rev = "${version}"; 11 sha256 = "0zsrvs9dwwhjx733m45vfi11yjkqv33z8qxn2i9qriq5zs1f0kd7"; 12 }; 13 14 patches = ./linuxsampler_lv2_sfz_fix.diff; 15 16 # It fails to compile without this option. I'm not sure what the bug 17 # is, but everything works OK for me (goibhniu). 18 configureFlags = [ "--disable-nptl-bug-check" ]; 19 20 preConfigure = '' 21 sed -e 's/which/type -P/g' -i scripts/generate_parser.sh 22 make -f Makefile.cvs 23 ''; 24 25 buildInputs = [ 26 alsaLib asio autoconf automake bison libjack2 libgig libsndfile 27 libtool lv2 pkgconfig 28 ]; 29 30 meta = with stdenv.lib; { 31 homepage = http://www.linuxsampler.org; 32 description = "Sampler backend"; 33 longDescription = '' 34 Includes sampler engine, audio and MIDI drivers, network layer 35 (LSCP) API and native C++ API. 36 37 LinuxSampler is licensed under the GNU GPL with the exception 38 that USAGE of the source code, libraries and applications FOR 39 COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without 40 prior written permission by the LinuxSampler authors. If you 41 have questions on the subject, that are not yet covered by the 42 FAQ, please contact us. 43 ''; 44 license = licenses.unfree; 45 maintainers = [ maintainers.goibhniu ]; 46 platforms = platforms.linux; 47 }; 48}