summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/gl/gl117/package.nix
blob: 6b4e0cb07daf05b15eba7a50e13cb67f4f11730f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  lib,
  stdenv,
  fetchurl,
  libGLU,
  libGL,
  SDL,
  libglut,
  SDL_mixer,
  autoconf,
  automake,
  libtool,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "gl-117";
  version = "1.3.2";

  src = fetchurl {
    url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/gl-117-${finalAttrs.version}.tar.bz2";
    sha256 = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4";
  };

  nativeBuildInputs = [
    automake
    autoconf
  ];
  buildInputs = [
    libGLU
    libGL
    SDL
    libglut
    SDL_mixer
    libtool
  ];

  meta = {
    description = "Air combat simulator";
    mainProgram = "gl-117";
    homepage = "https://sourceforge.net/projects/gl-117";
    maintainers = with lib.maintainers; [ raskin ];
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.linux;
  };
})