1 { lib, stdenv, fetchurl, makeWrapper, SDL, SDL_image }:
3 stdenv.mkDerivation rec {
4 pname = "airstrike-pre";
8 url = "https://icculus.org/airstrike/airstrike-pre${version}-src.tar.gz";
9 sha256 = "1h6rv2zcp84ycmd0kv1pbpqjgwx57dw42x7878d2c2vnpi5jn8qi";
12 nativeBuildInputs = [ makeWrapper ];
13 buildInputs = [ SDL SDL_image ];
23 cp -r data airstrikerc $out/share
25 wrapProgram $out/bin/airstrike \
30 description = "A 2d dogfighting game";
31 homepage = "https://icculus.org/airstrike/";
32 license = licenses.gpl2;
33 maintainers = with maintainers; [ pSub ];
34 platforms = platforms.linux;