1 { lib, stdenv, fetchurl, warsow-engine, makeWrapper }:
3 stdenv.mkDerivation rec {
8 url = "http://warsow.net/${pname}-${version}.tar.gz";
9 sha256 = "07y2airw5qg3s1bf1c63a6snjj22riz0mqhk62jmfm9nrarhavrc";
12 nativeBuildInputs = [ makeWrapper ];
15 mkdir -p $out/share/warsow
16 cp -r basewsw $out/share/warsow
17 ln -s ${warsow-engine}/lib/warsow $out/share/warsow/libs
20 for i in ${warsow-engine}/bin/*; do
21 makeWrapper "$i" "$out/bin/$(basename "$i")" --chdir "$out/share/warsow"
26 description = "Multiplayer FPS game designed for competitive gaming";
28 Set in a futuristic cartoon-like world where rocketlauncher-wielding
29 pigs and lasergun-carrying cyberpunks roam the streets, Warsow is a
30 completely free fast-paced first-person shooter (FPS) for Windows, Linux
33 homepage = "http://www.warsow.net";
34 license = licenses.unfreeRedistributable;
35 maintainers = with maintainers; [ astsmtl abbradar ];
36 platforms = warsow-engine.meta.platforms;