mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
commit
d7a27417ff
@ -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;
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user