at 15.09-beta 36 lines 926 B view raw
1{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}: 2 3stdenv.mkDerivation rec { 4 name = "alsa-oss-1.0.28"; 5 6 src = fetchurl { 7 urls = [ 8 "ftp://ftp.alsa-project.org/pub/oss-lib/${name}.tar.bz2" 9 "http://alsa.cybermirror.org/oss-lib/${name}.tar.bz2" 10 ]; 11 sha256 = "1mbabiywxjjlvdh257j3a0v4vvy69mwwnvc3xlq7pg50i2m2rris"; 12 }; 13 14 buildInputs = [ alsaLib ncurses libsamplerate ]; 15 nativeBuildInputs = [ gettext ]; 16 17 configureFlags = "--disable-xmlto"; 18 19 installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy"; 20 21 preConfigure = 22 '' 23 ''; 24 25 meta = { 26 homepage = http://www.alsa-project.org/; 27 description = "ALSA, the Advanced Linux Sound Architecture alsa-oss emulation"; 28 29 longDescription = '' 30 The Advanced Linux Sound Architecture (ALSA) provides audio and 31 MIDI functionality to the Linux-based operating system. 32 ''; 33 34 platforms = stdenv.lib.platforms.linux; 35 }; 36}