nixpkgs-suyu/pkgs/games/crrcsim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
656 B
Nix
Raw Normal View History

2021-01-15 05:31:39 +01:00
{ lib, stdenv, fetchurl, libGLU, libGL, SDL, SDL_mixer, plib, libjpeg }:
2014-05-28 13:04:16 +02:00
let
2016-06-09 14:16:24 +02:00
version = "0.9.13";
in
2014-05-28 13:04:16 +02:00
stdenv.mkDerivation rec {
2019-08-13 23:52:01 +02:00
pname = "crrcsim";
inherit version;
2014-05-28 13:04:16 +02:00
src = fetchurl {
2019-08-13 23:52:01 +02:00
url = "mirror://sourceforge/crrcsim/${pname}-${version}.tar.gz";
2016-06-09 14:16:24 +02:00
sha256 = "abe59b35ebb4322f3c48e6aca57dbf27074282d4928d66c0caa40d7a97391698";
};
2014-05-28 13:04:16 +02:00
buildInputs = [
2019-11-10 17:44:34 +01:00
libGLU libGL SDL SDL_mixer plib libjpeg
2014-05-28 13:04:16 +02:00
];
2017-09-01 14:54:58 +02:00
patches = [
./gcc6.patch
];
meta = {
description = "A model-airplane flight simulator";
2021-01-15 05:31:39 +01:00
maintainers = with lib.maintainers; [ raskin ];
platforms = [ "i686-linux" "x86_64-linux" ];
2021-01-15 05:31:39 +01:00
license = lib.licenses.gpl2;
};
2014-05-28 13:04:16 +02:00
}