mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
24 lines
541 B
Nix
24 lines
541 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "SDL_mixer";
|
|
version = "1.2.8";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.libsdl.org/projects/${pname}/release/${name}.tar.gz";
|
|
sha256 = "a8222a274778ff16d0e3ee49a30db27a48a4d357169a915fc599a764e405e0b6";
|
|
};
|
|
|
|
buildInputs = [SDL libogg libvorbis];
|
|
|
|
configureFlags = "--disable-music-ogg-shared";
|
|
|
|
postInstall = "ln -s $out/include/SDL/SDL_mixer.h $out/include/";
|
|
|
|
meta = {
|
|
description = "SDL multi-channel audio mixer library";
|
|
};
|
|
}
|