2015-05-17 03:02:43 +01:00
|
|
|
{ fetchgit, fetchsvn, cmake, stdenv, plib, SDL, openal, freealut, mesa
|
2013-01-10 19:55:46 +00:00
|
|
|
, libvorbis, libogg, gettext, libXxf86vm, curl, pkgconfig
|
2015-05-17 03:02:43 +01:00
|
|
|
, fribidi, autoconf, automake, libtool, bluez, libjpeg }:
|
2008-10-12 15:28:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-27 15:53:12 +01:00
|
|
|
name = "supertuxkart-${version}";
|
2008-10-12 15:28:51 +01:00
|
|
|
|
2015-05-17 03:02:43 +01: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 15:28:51 +01:00
|
|
|
buildInputs = [
|
2013-01-10 19:55:46 +00:00
|
|
|
plib SDL openal freealut mesa libvorbis libogg gettext
|
2015-05-17 03:02:43 +01:00
|
|
|
libXxf86vm curl pkgconfig fribidi autoconf automake libtool cmake bluez libjpeg
|
2008-10-12 15:28:51 +01:00
|
|
|
];
|
|
|
|
|
2013-01-10 19:55:46 +00:00
|
|
|
enableParallelBuilding = true;
|
2012-02-19 13:15:50 +00:00
|
|
|
|
2015-05-17 03:02:43 +01:00
|
|
|
sourceRoot = "stk-code";
|
2009-04-14 22:01:29 +01:00
|
|
|
|
2008-10-12 15:28:51 +01:00
|
|
|
meta = {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A Free 3D kart racing game";
|
2008-10-12 15:28:51 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-05-17 03:02:43 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ c0dehero fuuzetsu ];
|
2008-10-12 15:28:51 +01:00
|
|
|
};
|
|
|
|
}
|