2009-04-21 10:56:02 +01:00
|
|
|
|
{stdenv, fetchurl, alsaLib, gettext, ncurses}:
|
|
|
|
|
|
2009-10-30 15:05:13 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2012-09-24 13:53:19 +01:00
|
|
|
|
name = "alsa-utils-1.0.26";
|
|
|
|
|
|
2009-04-21 10:56:02 +01:00
|
|
|
|
src = fetchurl {
|
2012-09-24 13:53:19 +01:00
|
|
|
|
# url = "ftp://ftp.alsa-project.org/pub/utils/${name}.tar.bz2";
|
2012-09-24 14:53:57 +01:00
|
|
|
|
url = "http://alsa.cybermirror.org/utils/${name}.tar.bz2";
|
2012-09-24 13:53:19 +01:00
|
|
|
|
sha256 = "1rw1n3w8syqky9i7kwy5xd2rzfdbihxas32vwfxpb177lqx2lpzq";
|
2009-04-21 10:56:02 +01:00
|
|
|
|
};
|
2012-09-24 13:53:19 +01:00
|
|
|
|
|
2010-08-21 17:55:47 +01:00
|
|
|
|
buildInputs = [ alsaLib ncurses ];
|
|
|
|
|
buildNativeInputs = [ gettext ];
|
2012-09-24 13:53:19 +01:00
|
|
|
|
|
2012-04-13 15:54:02 +01:00
|
|
|
|
configureFlags = "--disable-xmlto --with-udev-rules-dir=$(out)/lib/udev/rules.d";
|
2009-04-21 10:56:02 +01:00
|
|
|
|
|
2012-04-14 12:46:45 +01:00
|
|
|
|
installFlags = "ASOUND_STATE_DIR=$(TMPDIR)/dummy";
|
|
|
|
|
|
2012-10-02 16:09:28 +01:00
|
|
|
|
preConfigure =
|
|
|
|
|
''
|
|
|
|
|
# Ensure that ‘90-alsa-restore.rules.in’ gets rebuilt.
|
|
|
|
|
rm alsactl/90-alsa-restore.rules
|
|
|
|
|
'';
|
|
|
|
|
|
2009-04-21 10:56:02 +01:00
|
|
|
|
meta = {
|
|
|
|
|
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.
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
homepage = http://www.alsa-project.org/;
|
|
|
|
|
};
|
|
|
|
|
}
|