mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
1488d45699
the newsest src+data tarball I could find. We should write an expression that can use the latest src with the latest data apart. svn path=/nixpkgs/trunk/; revision=32423
29 lines
808 B
Nix
29 lines
808 B
Nix
{ fetchurl, stdenv, mesa, SDL, scons, freeglut, SDL_image, glew, libvorbis,
|
|
asio, boost, SDL_gfx, pkgconfig, bullet, curl, libarchive }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vdrift-2011-10-22";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/vdrift/${name}.tar.bz2";
|
|
sha256 = "0vg1v1590jbln6k236kxn2sfgclvc6g34kykhh4nq9q3l1xgy38s";
|
|
};
|
|
|
|
buildInputs = [ scons mesa SDL freeglut SDL_image glew libvorbis asio boost
|
|
SDL_gfx pkgconfig bullet curl libarchive ];
|
|
|
|
buildPhase = ''
|
|
sed -i -e s,/usr/local,$out, SConstruct
|
|
scons
|
|
'';
|
|
installPhase = "scons install";
|
|
|
|
meta = {
|
|
description = "Car racing game";
|
|
homepage = http://vdrift.net/;
|
|
license = "GPLv2+";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|