1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/games/crrcsim/default.nix
2019-11-18 20:10:43 +00:00

29 lines
675 B
Nix

{ 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 stdenv.lib.maintainers; [ raskin the-kenny ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2;
};
}