1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
{
lib,
stdenv,
fetchurl,
curl,
ed,
pkg-config,
freetype,
zlib,
libGL,
libx11,
SDL2,
SDL2_image,
SDL2_mixer,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "redeclipse";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/redeclipse/base/releases/download/v${finalAttrs.version}/redeclipse_${finalAttrs.version}_nix.tar.bz2";
sha256 = "143i713ggbk607qr4n39pi0pn8d93x9x6fcbh8rc51jb9qhi8p5i";
};
buildInputs = [
libGL
libx11
freetype
zlib
SDL2
SDL2_image
SDL2_mixer
];
nativeBuildInputs = [
curl
ed
pkg-config
];
makeFlags = [
"-C"
"src/"
"prefix=$(out)"
];
enableParallelBuilding = true;
installTargets = [ "system-install" ];
postInstall = ''
cp -R -t $out/share/redeclipse/data/ data/*
'';
meta = {
description = "First person arena shooter, featuring parkour, impulse boosts, and more";
longDescription = ''
Red Eclipse is a fun-filled new take on the first person arena shooter,
featuring parkour, impulse boosts, and more. The development is geared
toward balanced gameplay, with a general theme of agility in a variety of
environments.
'';
homepage = "https://www.redeclipse.net";
license = with lib.licenses; [
lib.licenses.zlib
cc-by-sa-30
];
maintainers = with lib.maintainers; [ lambda-11235 ];
platforms = lib.platforms.linux;
hydraPlatforms = [ ];
};
})
|