nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
2
3stdenv.mkDerivation rec {
4 pname = "alsa-oss";
5 version = "1.1.8";
6
7 src = fetchurl {
8 url = "mirror://alsa/oss-lib/${pname}-${version}.tar.bz2";
9 sha256 = "13nn6n6wpr2sj1hyqx4r9nb9bwxnhnzw8r2f08p8v13yjbswxbb4";
10 };
11
12 buildInputs = [ alsaLib ncurses libsamplerate ];
13 nativeBuildInputs = [ gettext ];
14
15 configureFlags = [ "--disable-xmlto" ];
16
17 installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
18
19 meta = with stdenv.lib; {
20 homepage = "http://www.alsa-project.org/";
21 description = "ALSA, the Advanced Linux Sound Architecture alsa-oss emulation";
22
23 longDescription = ''
24 The Advanced Linux Sound Architecture (ALSA) provides audio and
25 MIDI functionality to the Linux-based operating system.
26 '';
27
28 license = licenses.gpl2;
29 platforms = platforms.linux;
30 };
31}