about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-11-16 17:22:29 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-11-16 17:22:36 -0500
commit922661273c38d8fe34a8b2abf6b8d49b32d7c3ec (patch)
treefbb24b8bdd7eec14e7a03be726f622eea5db51af /pkgs/games
parent59e5ab0290d338f6613506bf8445c7be972d1e8d (diff)
beret: remove
Was broken for 6 years
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/beret/default.nix42
1 files changed, 0 insertions, 42 deletions
diff --git a/pkgs/games/beret/default.nix b/pkgs/games/beret/default.nix
deleted file mode 100644
index 5d1bf0dd47c89..0000000000000
--- a/pkgs/games/beret/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ lib, stdenv, fetchurl, SDL, SDL_image, SDL_ttf, SDL_mixer }:
-
-stdenv.mkDerivation {
-  pname = "beret";
-  version = "1.2.0";
-
-  buildInputs = [ SDL SDL_image SDL_ttf SDL_mixer ];
-
-  NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL";
-  NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
-  NIX_LDFLAGS = lib.optionalString stdenv.isDarwin
-    "-framework CoreFoundation -framework OpenGL -framework Cocoa";
-
-  patches = [ ./use-home-dir.patch ];
-
-  postPatch = ''
-    sed -i 's@RESOURCE_PATH ""@RESOURCE_PATH "'$out'/share/"@' game.c
-  '';
-
-  src = fetchurl {
-    url = "https://gitorious.org/beret/beret/archive-tarball/ae029777";
-    name = "beret-1.2.0.tar.gz";
-    sha256 = "1rx9z72id1810fgv8mizk8qxwd1kh5xi07fdhmjc62mh3fn38szc";
-  };
-
-  installPhase = ''
-    mkdir -p $out/bin
-    install -v -m755 beret $out/bin
-    mkdir -p $out/share
-    cp -av tahoma.ttf images music rooms sfx $out/share
-  '';
-
-  meta = with lib; {
-    description = "A 2D puzzle-platformer game about a scientist with telekinetic abilities";
-    homepage    = "http://kiwisauce.com/beret/";
-    license     = licenses.lgpl2;
-    maintainers = with maintainers; [ lovek323 ];
-    platforms   = platforms.all;
-    broken = true; # source won't download, and no replacement is visible
-  };
-}
-