2016-02-13 20:04:41 +01:00
|
|
|
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate, pciutils, fftw}:
|
2009-04-21 11:56:02 +02:00
|
|
|
|
2009-10-30 16:05:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-11 20:10:35 +02:00
|
|
|
name = "alsa-utils-${version}";
|
2017-06-15 17:07:12 +02:00
|
|
|
version = "1.1.4";
|
2012-09-24 14:53:19 +02:00
|
|
|
|
2009-04-21 11:56:02 +02:00
|
|
|
src = fetchurl {
|
2014-06-20 10:11:41 +02:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2"
|
|
|
|
"http://alsa.cybermirror.org/utils/${name}.tar.bz2"
|
|
|
|
];
|
2017-06-15 17:07:12 +02:00
|
|
|
sha256 = "17cxih9ibjp1193dyd79j50pyfa9dvrs6r9kpwrvzicjvr2110x7";
|
2009-04-21 11:56:02 +02:00
|
|
|
};
|
2012-09-24 14:53:19 +02:00
|
|
|
|
2015-12-22 19:51:55 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace alsa-info/alsa-info.sh \
|
|
|
|
--replace "which" "type -p" \
|
|
|
|
--replace "lspci" "${pciutils}/bin/lspci"
|
|
|
|
'';
|
2016-02-13 20:04:41 +01:00
|
|
|
buildInputs = [ gettext alsaLib ncurses libsamplerate fftw ];
|
2012-09-24 14:53:19 +02:00
|
|
|
|
2012-04-13 16:54:02 +02:00
|
|
|
configureFlags = "--disable-xmlto --with-udev-rules-dir=$(out)/lib/udev/rules.d";
|
2009-04-21 11:56:02 +02:00
|
|
|
|
2012-04-14 13:46:45 +02:00
|
|
|
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
|
|
|
|
|
2009-04-21 11:56:02 +02:00
|
|
|
meta = {
|
2013-12-06 19:26:28 +01:00
|
|
|
homepage = http://www.alsa-project.org/;
|
2009-04-21 11:56:02 +02: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 19:26:28 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-04-11 20:10:35 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.AndersonTorres ];
|
2009-04-21 11:56:02 +02:00
|
|
|
};
|
|
|
|
}
|