1 {lib, stdenv, fetchurl, alsa-lib, gettext, ncurses, libsamplerate}:
3 stdenv.mkDerivation rec {
8 url = "mirror://alsa/oss-lib/alsa-oss-${version}.tar.bz2";
9 hash = "sha256-ZK3O9ZJ+hI0uAk5kxL+FtvOVlk2ZdOxhkFrky4011o4=";
12 buildInputs = [ alsa-lib ncurses libsamplerate ];
13 nativeBuildInputs = [ gettext ];
15 configureFlags = [ "--disable-xmlto" ];
17 installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
20 homepage = "http://www.alsa-project.org/";
21 description = "ALSA, the Advanced Linux Sound Architecture alsa-oss emulation";
25 The Advanced Linux Sound Architecture (ALSA) provides audio and
26 MIDI functionality to the Linux-based operating system.
29 license = licenses.gpl2;
30 platforms = platforms.linux;