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