diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-22 06:24:00 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-22 06:30:00 +0300 |
commit | b47327ebd535468f71bbf6a46366e0bd9357b599 (patch) | |
tree | 987e9ce4217b3a72404729c539a6e5f13420a5e2 /pkgs/development/libraries/SDL_sound/default.nix | |
parent | 3e2458a08537e1cd6a5dbcd2ad0cd7fe83be5d34 (diff) |
SDL: cleanup and add patch to discover extensions
Diffstat (limited to 'pkgs/development/libraries/SDL_sound/default.nix')
-rw-r--r-- | pkgs/development/libraries/SDL_sound/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix index 5ca64730f5172..8d088b6bbf472 100644 --- a/pkgs/development/libraries/SDL_sound/default.nix +++ b/pkgs/development/libraries/SDL_sound/default.nix @@ -1,7 +1,8 @@ -{stdenv, fetchurl, SDL, libvorbis, flac, libmikmod}: +{ stdenv, fetchurl, SDL, libvorbis, flac, libmikmod }: stdenv.mkDerivation rec { - name = "SDL_sound-1.0.3"; + name = "SDL_sound-${version}"; + version = "1.0.3"; src = fetchurl { url = "http://icculus.org/SDL_sound/downloads/${name}.tar.gz"; @@ -10,10 +11,10 @@ stdenv.mkDerivation rec { buildInputs = [ SDL libvorbis flac libmikmod ]; - postInstall = "ln -s $out/include/SDL/SDL_sound.h $out/include/"; - - meta = { + meta = with stdenv.lib; { description = "SDL sound library"; - platforms = stdenv.lib.platforms.linux; + platforms = platforms.linux; + license = licenses.lgpl21; + homepage = "https://www.icculus.org/SDL_sound/"; }; } |