c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
Nix
{ stdenv, fetchurl, alsaLib, cmake }:
|
|
|
|
let version = "1.7.411"; in
|
|
stdenv.mkDerivation rec {
|
|
name = "openal-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://connect.creativelabs.com/openal/Downloads/openal-soft-${version}.bz2";
|
|
sha256 = "1nbqvg08hy5p2cxy2i2mmh2szmbpsg2dcvhr61iplyisw04rwc8i";
|
|
name = "openal-soft-${version}.tar.bz2";
|
|
};
|
|
|
|
buildInputs = [ cmake ] ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
|
|
|
meta = {
|
|
description = "Cross-platform 3D audio API";
|
|
|
|
longDescription = ''
|
|
OpenAL is a cross-platform 3D audio API appropriate for use with
|
|
gaming applications and many other types of audio applications.
|
|
|
|
The library models a collection of audio sources moving in a 3D
|
|
space that are heard by a single listener somewhere in that
|
|
space. The basic OpenAL objects are a Listener, a Source, and a
|
|
Buffer. There can be a large number of Buffers, which contain
|
|
audio data. Each buffer can be attached to one or more Sources,
|
|
which represent points in 3D space which are emitting audio.
|
|
There is always one Listener object (per audio context), which
|
|
represents the position where the sources are heard -- rendering
|
|
is done from the perspective of the Listener.
|
|
'';
|
|
|
|
homepage = http://www.openal.org/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|