mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
28 lines
632 B
Nix
28 lines
632 B
Nix
{ stdenv, fetchurl, mesa, SDL, SDL_mixer, plib, libjpeg }:
|
|
let
|
|
version = "0.9.13";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "crrcsim-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/crrcsim/${name}.tar.gz";
|
|
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
|
|
};
|
|
|
|
buildInputs = [
|
|
mesa SDL SDL_mixer plib libjpeg
|
|
];
|
|
|
|
patches = [
|
|
./gcc6.patch
|
|
];
|
|
|
|
meta = {
|
|
description = "A model-airplane flight simulator";
|
|
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
};
|
|
}
|