about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/crrcsim/default.nix
blob: 98baafbb2fd273182439c69f469b7e5819155ee4 (plain) (blame)
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
{ stdenv, fetchurl, libGLU_combined, SDL, SDL_mixer, plib, libjpeg }:
let
  version = "0.9.13";
in
stdenv.mkDerivation rec {
  name = "crrcsim-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/crrcsim/${name}.tar.gz";
    sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
  };

  buildInputs = [
    libGLU_combined SDL SDL_mixer plib libjpeg
  ];

  patches = [
    ./gcc6.patch
  ];

  meta = {
    description = "A model-airplane flight simulator";
    maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
    platforms = [ "i686-linux" "x86_64-linux" ];
    license = stdenv.lib.licenses.gpl2;
  };
}