3
0
Fork 0
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:
Tuomas Tynkkynen 2015-04-10 21:28:24 +03:00
parent 3600de6791
commit 2f7b37749e
2 changed files with 30 additions and 0 deletions

View 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 ];
};
}

View file

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