1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/games/crrcsim/default.nix

28 lines
632 B
Nix
Raw Normal View History

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