1 { stdenvNoCC, lib, fetchurl, buildFHSEnv }:
6 # Unwrapped package, for putting into the FHS env
7 left4gore-unwrapped = stdenvNoCC.mkDerivation {
8 pname = "left4gore-unwrapped";
12 url = "http://www.left4gore.com/dist/left4gore-${version}-linux.tar.gz";
13 sha256 = "1n57nh32ybn6kirn8djh0nsjx6m84c0jfi1x8r4w2qr0qky3z7p0";
22 # FHS env, as patchelf will not work
24 name = "left4gore-env-${version}";
25 targetPkgs = _: [ left4gore-unwrapped ];
26 runScript = "left4gore";
29 in stdenvNoCC.mkDerivation {
39 ln -s ${env}/bin/* $out/bin/left4gore
43 homepage = "http://www.left4gore.com";
44 description = "Memory patcher which adds the gore back into Left 4 Dead 2";
45 license = licenses.unfree; # Probably the best choice
46 maintainers = with maintainers; [ das_j ];