2014-05-28 13:04:16 +02:00
|
|
|
{ stdenv, fetchurl, mesa, SDL, SDL_mixer, plib, libjpeg }:
|
|
|
|
let
|
2016-06-09 14:16:24 +02:00
|
|
|
version = "0.9.13";
|
2010-11-29 22:12:53 +01:00
|
|
|
in
|
2014-05-28 13:04:16 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "crrcsim-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/crrcsim/${name}.tar.gz";
|
2016-06-09 14:16:24 +02:00
|
|
|
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
|
2010-11-29 22:12:53 +01:00
|
|
|
};
|
|
|
|
|
2014-05-28 13:04:16 +02:00
|
|
|
buildInputs = [
|
|
|
|
mesa SDL SDL_mixer plib libjpeg
|
|
|
|
];
|
2010-11-29 22:12:53 +01:00
|
|
|
|
2017-09-01 14:54:58 +02:00
|
|
|
patches = [
|
|
|
|
./gcc6.patch
|
|
|
|
];
|
|
|
|
|
2010-11-29 22:12:53 +01:00
|
|
|
meta = {
|
|
|
|
description = "A model-airplane flight simulator";
|
2014-05-28 13:04:16 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-11-29 22:12:53 +01:00
|
|
|
};
|
2014-05-28 13:04:16 +02:00
|
|
|
}
|