nixpkgs/pkgs/games/crrcsim/default.nix

28 lines
659 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libGLU_combined, 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";
in
2014-05-28 11:04:16 +00:00
stdenv.mkDerivation rec {
name = "crrcsim-${version}";
src = fetchurl {
url = "mirror://sourceforge/crrcsim/${name}.tar.gz";
2016-06-09 12:16:24 +00:00
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
};
2014-05-28 11:04:16 +00:00
buildInputs = [
libGLU_combined SDL SDL_mixer plib libjpeg
2014-05-28 11:04:16 +00:00
];
2017-09-01 12:54:58 +00:00
patches = [
./gcc6.patch
];
meta = {
description = "A model-airplane flight simulator";
2014-05-28 11:04:16 +00:00
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2;
};
2014-05-28 11:04:16 +00:00
}