2013-01-25 12:18:30 +04:00
|
|
|
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:
|
2009-04-21 13:56:02 +04:00
|
|
|
|
2009-10-30 18:05:13 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-14 13:35:37 +04:00
|
|
|
name = "alsa-utils-1.0.27.2";
|
2012-09-24 16:53:19 +04:00
|
|
|
|
2009-04-21 13:56:02 +04:00
|
|
|
src = fetchurl {
|
2012-09-24 16:53:19 +04:00
|
|
|
# url = "ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2";
|
2012-09-24 17:53:57 +04:00
|
|
|
url = "http://alsa.cybermirror.org/utils/${name}.tar.bz2";
|
2014-03-14 13:35:37 +04:00
|
|
|
sha256 = "1sjjngnq50jv5ilwsb4zys6smifni3bd6fn28gbnhfrg14wsrgq2";
|
2009-04-21 13:56:02 +04:00
|
|
|
};
|
2012-09-24 16:53:19 +04:00
|
|
|
|
2013-01-25 12:18:30 +04:00
|
|
|
buildInputs = [ alsaLib ncurses libsamplerate ];
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ gettext ];
|
2012-09-24 16:53:19 +04:00
|
|
|
|
2012-04-13 18:54:02 +04:00
|
|
|
configureFlags = "--disable-xmlto --with-udev-rules-dir=$(out)/lib/udev/rules.d";
|
2009-04-21 13:56:02 +04:00
|
|
|
|
2012-04-14 15:46:45 +04:00
|
|
|
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
|
|
|
|
|
2009-04-21 13:56:02 +04:00
|
|
|
meta = {
|
2013-12-06 22:26:28 +04:00
|
|
|
homepage = http://www.alsa-project.org/;
|
2009-04-21 13:56:02 +04:00
|
|
|
description = "ALSA, the Advanced Linux Sound Architecture utils";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The Advanced Linux Sound Architecture (ALSA) provides audio and
|
|
|
|
MIDI functionality to the Linux-based operating system.
|
|
|
|
'';
|
|
|
|
|
2013-12-06 22:26:28 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-21 13:56:02 +04:00
|
|
|
};
|
|
|
|
}
|