Merge pull request #135286 from Mic92/bitsnbots

bitsnbots: drop
This commit is contained in:
Jörg Thalheim 2021-08-22 15:40:05 +01:00 committed by GitHub
commit d7a27417ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 41 deletions

View file

@ -1,37 +0,0 @@
{ lib, stdenv, fetchurl, SDL, lua, libGLU, libGL }:
stdenv.mkDerivation rec {
pname = "bitsnbots";
version = "20111230";
src = fetchurl {
url = "http://moikmellah.org/downloads/bitsnbots/bitsnbots.source.tgz";
sha256 = "1iiclm6bfpp2p6d692hpnw25xyr48ki1xkcxa7fvh5b7m1519gsp";
};
patchPhase = ''
sed -i '/^INCLUDE/d' Makefile.linux
'';
makefile = "Makefile.linux";
NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL";
NIX_LDFLAGS = "-lGL";
installPhase = ''
mkdir -p $out/share/${pname}-${version}
cp -R bitsnbots resource scripts README $out/share/${pname}-${version}
mkdir -p $out/bin
ln -s $out/share/${pname}-${version}/bitsnbots $out/bin
'';
buildInputs = [ SDL lua libGLU libGL ];
meta = {
description = "Simple puzzle game with moving robots";
homepage = "http://moikmellah.org/blog/?page_id=19";
license = lib.licenses.gpl3Plus;
platforms = with lib.platforms; linux;
};
}

View file

@ -78,6 +78,7 @@ mapAliases ({
bootchart = throw "bootchart has been removed from nixpkgs, as it is without a maintainer"; # added 2019-12-10
bomi = throw "bomi has been removed from nixpkgs since it was broken and abandoned upstream"; # added 2020-12-10
btrfsProgs = btrfs-progs; # added 2016-01-03
bitsnbots = throw "bitsnbots has been removed because it was broken and upstream missing"; # added 2021-08-22
bittorrentSync = throw "bittorrentSync has been deprecated by resilio-sync."; # added 2019-06-03
bittorrentSync14 = throw "bittorrentSync14 has been deprecated by resilio-sync."; # added 2019-06-03
bittorrentSync20 = throw "bittorrentSync20 has been deprecated by resilio-sync."; # added 2019-06-03

View file

@ -29107,10 +29107,6 @@ with pkgs;
beret = callPackage ../games/beret { };
bitsnbots = callPackage ../games/bitsnbots {
lua = lua5;
};
black-hole-solver = callPackage ../games/black-hole-solver {
inherit (perlPackages) PathTiny;
};