2015-05-17 04:02:43 +02:00
|
|
|
{ fetchgit, fetchsvn, cmake, stdenv, plib, SDL, openal, freealut, mesa
|
2013-01-10 20:55:46 +01:00
|
|
|
, libvorbis, libogg, gettext, libXxf86vm, curl, pkgconfig
|
2016-08-22 19:55:04 +02:00
|
|
|
, fribidi, autoconf, automake, libtool, bluez, libjpeg, libpng }:
|
2008-10-12 16:28:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-27 16:53:12 +02:00
|
|
|
name = "supertuxkart-${version}";
|
2008-10-12 16:28:51 +02:00
|
|
|
|
2015-05-17 04:02:43 +02:00
|
|
|
version = "0.9";
|
|
|
|
srcs = [
|
|
|
|
(fetchgit {
|
|
|
|
url = "https://github.com/supertuxkart/stk-code";
|
|
|
|
rev = "28a525f6d4aba2667c41a549b027149fcceda97e";
|
|
|
|
sha256 = "0b5izr7j3clm6pcxanwwaas06f17wi454s6hwmgv1mg48aay2v97";
|
|
|
|
name = "stk-code";
|
|
|
|
})
|
|
|
|
(fetchsvn {
|
|
|
|
url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
|
|
|
|
rev = "16293";
|
|
|
|
sha256 = "07jdkli28xr3rcxvixyy5bwi26n5i7dkhd9q0j4wifgs4pymm8r5";
|
|
|
|
name = "stk-assets";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2008-10-12 16:28:51 +02:00
|
|
|
buildInputs = [
|
2013-01-10 20:55:46 +01:00
|
|
|
plib SDL openal freealut mesa libvorbis libogg gettext
|
2016-08-22 19:55:04 +02:00
|
|
|
libXxf86vm curl pkgconfig fribidi autoconf automake libtool cmake bluez libjpeg libpng
|
2008-10-12 16:28:51 +02:00
|
|
|
];
|
|
|
|
|
2013-01-10 20:55:46 +01:00
|
|
|
enableParallelBuilding = true;
|
2012-02-19 14:15:50 +01:00
|
|
|
|
2015-05-17 04:02:43 +02:00
|
|
|
sourceRoot = "stk-code";
|
2009-04-14 23:01:29 +02:00
|
|
|
|
2008-10-12 16:28:51 +02:00
|
|
|
meta = {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A Free 3D kart racing game";
|
2008-10-12 16:28:51 +02:00
|
|
|
longDescription = ''
|
|
|
|
SuperTuxKart is a Free 3D kart racing game, with many tracks,
|
|
|
|
characters and items for you to try, similar in spirit to Mario
|
|
|
|
Kart.
|
|
|
|
'';
|
|
|
|
homepage = http://supertuxkart.sourceforge.net/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-05-17 04:02:43 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ c0dehero fuuzetsu ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2008-10-12 16:28:51 +02:00
|
|
|
};
|
|
|
|
}
|