mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
blockattack: init at 2.7.0
This commit is contained in:
parent
d36d401087
commit
fbcf8ffa10
59
pkgs/games/blockattack/default.nix
Normal file
59
pkgs/games/blockattack/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, SDL2
|
||||
, SDL2_image
|
||||
, SDL2_mixer
|
||||
, SDL2_ttf
|
||||
, boost
|
||||
, cmake
|
||||
, gettext
|
||||
, physfs
|
||||
, pkg-config
|
||||
, zip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blockattack";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "${pname}-${version}-src";
|
||||
owner = "blockattack";
|
||||
repo = "blockattack-game";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ySLm3AdoJRiMRdla45OJh8ZIFYNh+HzjG2VnFqoWuZA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
gettext
|
||||
zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
SDL2_mixer
|
||||
SDL2_ttf
|
||||
SDL2_ttf
|
||||
boost
|
||||
physfs
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs packdata.sh source/misc/translation/*.sh
|
||||
chmod +x ./packdata.sh
|
||||
./packdata.sh
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://blockattack.net/";
|
||||
description = "An open source clone of Panel de Pon (aka Tetris Attack)";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
|
@ -30226,6 +30226,8 @@ with pkgs;
|
|||
|
||||
ballerburg = callPackage ../games/ballerburg { } ;
|
||||
|
||||
blockattack = callPackage ../games/blockattack { } ;
|
||||
|
||||
colobot = callPackage ../games/colobot {};
|
||||
|
||||
doom-bcc = callPackage ../games/zdoom/bcc-git.nix { };
|
||||
|
|
Loading…
Reference in a new issue