mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
7390c0e31f
svn path=/nixpkgs/trunk/; revision=20018
22 lines
628 B
Nix
22 lines
628 B
Nix
{ stdenv, fetchurl, pkgconfig, pulseaudio
|
|
, usePulseAudio }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libao-0.8.8";
|
|
src = fetchurl {
|
|
url = http://downloads.xiph.org/releases/ao/libao-0.8.8.tar.gz;
|
|
sha256 = "e52e05af6b10f42d2ee9845df1a581bf2b352060eabf7946aee0a600c3878954";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig ] ++ stdenv.lib.optional usePulseAudio pulseaudio;
|
|
|
|
meta = {
|
|
longDescription = ''
|
|
Libao is Xiph.org's cross-platform audio library that allows
|
|
programs to output audio using a simple API on a wide variety of
|
|
platforms.
|
|
'';
|
|
homepage = http://xiph.org/ao/;
|
|
license = "GPLv2+";
|
|
};
|
|
}
|