mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
1451a52a38
I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
58 lines
1.6 KiB
Nix
58 lines
1.6 KiB
Nix
{ stdenv, fetchFromGitHub, fetchsvn, cmake, pkgconfig
|
|
, openal, freealut, libGLU, libGL, libvorbis, libogg, gettext, curl, freetype
|
|
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr, enet }:
|
|
|
|
let
|
|
dir = "stk-code";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
pname = "supertuxkart";
|
|
version = "1.0";
|
|
|
|
srcs = [
|
|
(fetchFromGitHub {
|
|
owner = "supertuxkart";
|
|
repo = "stk-code";
|
|
rev = version;
|
|
sha256 = "03mrnzrvfdgjc687n718f5zsray6vbdlv4irzy2mfi78bz3bkjll";
|
|
name = dir;
|
|
})
|
|
(fetchsvn {
|
|
url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
|
|
rev = "18212";
|
|
sha256 = "1dyj8r5rfifhnhayga8w8irkpa99vw57xjmy74cp8xz8g7zvdzqf";
|
|
name = "stk-assets";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake gettext libtool pkgconfig ];
|
|
|
|
buildInputs = [
|
|
libX11 libXrandr
|
|
openal freealut libGLU libGL libvorbis libogg zlib freetype
|
|
curl fribidi bluez libjpeg libpng enet
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_RECORDER=OFF" # libopenglrecorder is not in nixpkgs
|
|
"-DUSE_SYSTEM_ANGELSCRIPT=OFF" # doesn't work with 2.31.2 or 2.32.0
|
|
];
|
|
|
|
sourceRoot = dir;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Free 3D kart racing game";
|
|
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 = https://supertuxkart.net/;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ pyrolagus peterhoeg ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|