2019-11-10 19:44:34 +03:00
|
|
|
{ stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
|
2014-05-28 15:04:16 +04:00
|
|
|
let
|
2016-06-09 15:16:24 +03:00
|
|
|
version = "0.9.13";
|
2010-11-30 00:12:53 +03:00
|
|
|
in
|
2014-05-28 15:04:16 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-14 00:52:01 +03:00
|
|
|
pname = "crrcsim";
|
|
|
|
inherit version;
|
2014-05-28 15:04:16 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-14 00:52:01 +03:00
|
|
|
url = "mirror://sourceforge/crrcsim/${pname}-${version}.tar.gz";
|
2016-06-09 15:16:24 +03:00
|
|
|
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
|
2010-11-30 00:12:53 +03:00
|
|
|
};
|
|
|
|
|
2014-05-28 15:04:16 +04:00
|
|
|
buildInputs = [
|
2019-11-10 19:44:34 +03:00
|
|
|
libGLU libGL SDL SDL_mixer plib libjpeg
|
2014-05-28 15:04:16 +04:00
|
|
|
];
|
2010-11-30 00:12:53 +03:00
|
|
|
|
2017-09-01 15:54:58 +03:00
|
|
|
patches = [
|
|
|
|
./gcc6.patch
|
|
|
|
];
|
|
|
|
|
2010-11-30 00:12:53 +03:00
|
|
|
meta = {
|
|
|
|
description = "A model-airplane flight simulator";
|
2014-05-28 15:04:16 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
|
2018-01-22 17:17:16 +03:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-11-30 00:12:53 +03:00
|
|
|
};
|
2014-05-28 15:04:16 +04:00
|
|
|
}
|