summary refs log tree commit diff
path: root/pkgs/games/crrcsim/default.nix
blob: 944b67041c26f6ef601a6da162b48f5393b27cb5 (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
{ stdenv, fetchurl, mesa, SDL, SDL_mixer, plib, libjpeg }:
let
  version = "0.9.12";
in
stdenv.mkDerivation rec {
  name = "crrcsim-${version}";

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

  buildInputs = [
    mesa SDL SDL_mixer plib libjpeg
  ];

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