Merge pull request #146312 from veprbl/pr/beret_rm

beret: remove
This commit is contained in:
Thiago Kenji Okada 2021-11-16 22:03:42 -03:00 committed by GitHub
commit 15cef13921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 44 deletions

View file

@ -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
};
}

View file

@ -76,6 +76,7 @@ mapAliases ({
bazaarTools = throw "bazaar has been deprecated by breezy."; # added 2020-04-19
bcat = throw "bcat has been removed because upstream is dead"; # added 2021-08-22
beegfs = throw "beegfs has been removed."; # added 2019-11-24
beret = throw "beret has been removed"; # added 2021-11-16
bluezFull = bluez; # Added 2019-12-03
bpftool = bpftools; # Added 2021-05-03
brackets = throw "brackets has been removed, it was unmaintained and had open vulnerabilities"; # added 2021-01-24

View file

@ -29850,8 +29850,6 @@ with pkgs;
bench = haskell.lib.compose.justStaticExecutables haskellPackages.bench;
beret = callPackage ../games/beret { };
black-hole-solver = callPackage ../games/black-hole-solver {
inherit (perlPackages) PathTiny;
};