fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchurl,
5 warsow-engine,
6 makeWrapper,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "warsow";
11 version = "2.1.2";
12
13 src = fetchurl {
14 url = "http://warsow.net/${pname}-${version}.tar.gz";
15 sha256 = "07y2airw5qg3s1bf1c63a6snjj22riz0mqhk62jmfm9nrarhavrc";
16 };
17
18 nativeBuildInputs = [ makeWrapper ];
19
20 installPhase = ''
21 mkdir -p $out/share/warsow
22 cp -r basewsw $out/share/warsow
23 ln -s ${warsow-engine}/lib/warsow $out/share/warsow/libs
24
25 mkdir -p $out/bin
26 for i in ${warsow-engine}/bin/*; do
27 makeWrapper "$i" "$out/bin/$(basename "$i")" --chdir "$out/share/warsow"
28 done
29 '';
30
31 meta = with lib; {
32 description = "Multiplayer FPS game designed for competitive gaming";
33 longDescription = ''
34 Set in a futuristic cartoon-like world where rocketlauncher-wielding
35 pigs and lasergun-carrying cyberpunks roam the streets, Warsow is a
36 completely free fast-paced first-person shooter (FPS) for Windows, Linux
37 and macOS.
38 '';
39 homepage = "http://www.warsow.net";
40 license = licenses.unfreeRedistributable;
41 maintainers = with maintainers; [
42 ];
43 platforms = warsow-engine.meta.platforms;
44 };
45}