depot/third_party/nixpkgs/pkgs/games/crrcsim/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

28 lines
656 B
Nix

{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
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 = {
description = "A model-airplane flight simulator";
maintainers = with lib.maintainers; [ raskin ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = lib.licenses.gpl2;
};
}