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