forked from mirrors/nixpkgs
bastet: New package
Add version 0.43.1 of bastet, the infamous evil tetris clone, to the games collection.
This commit is contained in:
parent
3600de6791
commit
2f7b37749e
28
pkgs/games/bastet/default.nix
Normal file
28
pkgs/games/bastet/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, ncurses, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bastet-${version}";
|
||||
version = "0.43.1";
|
||||
buildInputs = [ ncurses boost ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fph";
|
||||
repo = "bastet";
|
||||
rev = version;
|
||||
sha256 = "14ymdarx30zqxyixvb17h4hs57y6zfx0lrdvc200crllz8zzdx5z";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/bin
|
||||
cp bastet "$out"/bin/
|
||||
mkdir -p "$out"/share/man/man6
|
||||
cp bastet.6 "$out"/share/man/man6
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tetris clone with 'bastard' block-choosing AI";
|
||||
homepage = http://fph.altervista.org/prog/bastet.html;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
};
|
||||
}
|
|
@ -634,6 +634,8 @@ let
|
|||
|
||||
bashmount = callPackage ../tools/filesystems/bashmount {};
|
||||
|
||||
bastet = callPackage ../games/bastet {};
|
||||
|
||||
bc = callPackage ../tools/misc/bc { };
|
||||
|
||||
bcache-tools = callPackage ../tools/filesystems/bcache-tools { };
|
||||
|
|
Loading…
Reference in a new issue