forked from mirrors/nixpkgs
* ALSA utilities (for `alsamixer' etc.).
svn path=/nixpkgs/trunk/; revision=3742
This commit is contained in:
parent
51492eb656
commit
0ff65fba1a
|
@ -11,3 +11,7 @@
|
|||
|
||||
* In libxml2: python2.3 -> python2.4 (or even better, make this
|
||||
generic; also in bittorrent).
|
||||
|
||||
* Packages that need ncurses almost always need special flags. They
|
||||
expect "ncurses.h" rather than "ncurses/ncurses.h" to be in the
|
||||
include path. Fix this.
|
||||
|
|
5
pkgs/os-specific/linux/alsa/utils/builder.sh
Normal file
5
pkgs/os-specific/linux/alsa/utils/builder.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
source $stdenv/setup
|
||||
|
||||
export NIX_CFLAGS_COMPILE="-I$ncurses/include/ncurses -I$ncurses/include $NIX_CFLAGS_COMPILE"
|
||||
|
||||
genericBuild
|
12
pkgs/os-specific/linux/alsa/utils/default.nix
Normal file
12
pkgs/os-specific/linux/alsa/utils/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, alsaLib, ncurses, gettext}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "alsa-utils-1.0.9a";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.9a.tar.bz2;
|
||||
md5 = "d4b77e9fe0311772293e402fdd634ad2";
|
||||
};
|
||||
buildInputs = [alsaLib ncurses gettext];
|
||||
inherit ncurses;
|
||||
}
|
|
@ -1145,6 +1145,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
alsaUtils = (import ../os-specific/linux/alsa/utils) {
|
||||
inherit fetchurl stdenv alsaLib ncurses gettext;
|
||||
};
|
||||
|
||||
utillinux = (import ../os-specific/linux/util-linux) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue