2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
|
|
|
version = "0.9.13";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "crrcsim";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/crrcsim/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libGLU libGL SDL SDL_mixer plib libjpeg
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./gcc6.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Model-airplane flight simulator";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "crrcsim";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
2024-07-27 06:49:29 +00:00
|
|
|
license = lib.licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|