about summary refs log tree commit diff
path: root/pkgs/games/humblebundle
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-07-24 14:08:23 +0200
committerProfpatsch <mail@profpatsch.de>2017-07-24 14:09:49 +0200
commitb44d56eabd5768c8d6e486b726382434d135aafd (patch)
treec0c5656a5dc06e11f73516a048fbd640fb94d476 /pkgs/games/humblebundle
parent300941ceb778d2c4b37627af7d5346346d5b8fd2 (diff)
Revert "pkgs/games: add antichamber"
This reverts commit 1fcecd0b9d6424f32f304c4fda0598894aac2011.
It was written by @layus and the code came from PR #14.
Diffstat (limited to 'pkgs/games/humblebundle')
-rw-r--r--pkgs/games/humblebundle/antichamber.nix58
-rw-r--r--pkgs/games/humblebundle/default.nix1
2 files changed, 0 insertions, 59 deletions
diff --git a/pkgs/games/humblebundle/antichamber.nix b/pkgs/games/humblebundle/antichamber.nix
deleted file mode 100644
index b72a0226..00000000
--- a/pkgs/games/humblebundle/antichamber.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ stdenv, stdenv_32bit, lib, pkgsi686Linux, fetchHumbleBundle, unzip}:
-
-stdenv_32bit.mkDerivation rec {
-  name = "antichamber-1.1";
-
-  src = fetchHumbleBundle {
-    name = "antichamber_1.01_linux_1392664980.sh";
-    machineName = "antichamber_linux";
-    md5 = "37bca01c411d813c8729259b7db2dba0";
-  };
-
-  dontStrip = true;
-  phases = ["installPhase"];
-
-  installPhase = let
-    rpath = with pkgsi686Linux; lib.makeLibraryPath [
-      "$dest/Binaries/Linux"
-      xorg.libX11
-      xorg.libXi
-      stdenv.cc.cc.lib
-      libpulseaudio
-      libvorbis
-      libogg
-      mesa
-    ];
-   in ''
-    set -x
-    dest="$out/share/antichamber"
-
-    # Unpack binaries and data into $dest
-    mkdir -p "$dest"
-    ${unzip}/bin/unzip $src "data/*" -d $dest && [ $? -le 2 ]
-    mv $dest/data/*/* $dest
-    rm -r $dest/data
-
-    # Patch heavily :-)
-    patchelf \
-      --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
-      --set-rpath "${rpath}" "$dest/Binaries/Linux/UDKGame-Linux"
-    for exe in $dest/Binaries/Linux/lib/*.so{,.*} ; do
-      patchelf --set-rpath "${rpath}" "$exe"
-    done
-
-    # Fixup permissions, just to be sure.
-    find "$dest" -type f -exec chmod 644 "{}" +
-    find "$dest/Binaries" -type f -exec chmod 755 "{}" +
-
-    mkdir -p "$out/bin"
-    cat > $out/bin/antichamber <<EOF
-    #!${stdenv_32bit.shell}
-    cd $dest/Binaries/Linux/
-    exec ./UDKGame-Linux "$@"
-    EOF
-    chmod 755 $out/bin/antichamber
-  '';
-
-  # meta.platforms = lib.platforms.linux32;
-}
diff --git a/pkgs/games/humblebundle/default.nix b/pkgs/games/humblebundle/default.nix
index 5850bce6..e1c7c0e1 100644
--- a/pkgs/games/humblebundle/default.nix
+++ b/pkgs/games/humblebundle/default.nix
@@ -11,7 +11,6 @@ let
       inherit (config.humblebundle) email password;
     };
 
-    antichamber = callPackage_i686 ./antichamber.nix { };
     bastion = callPackage ./bastion.nix {};
     brigador = callPackage ./brigador.nix {};
     cavestoryplus = callPackage ./cavestoryplus.nix {};