about summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL_sound/default.nix
blob: e471c3cc556f81d56b53aa68430d43bcc72b33f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, SDL, libvorbis, flac, libmikmod }:

stdenv.mkDerivation rec {
  name = "SDL_sound-${version}";
  version = "1.0.3";

  src = fetchurl {
    url = "http://icculus.org/SDL_sound/downloads/${name}.tar.gz";
    sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r";
  };

  buildInputs = [ SDL libvorbis flac libmikmod ];

  meta = with stdenv.lib; {
    description = "SDL sound library";
    platforms = platforms.linux;
    license = licenses.lgpl21;
    homepage = https://www.icculus.org/SDL_sound/;
  };
}