Merge pull request #7972 from oxij/add-xbomb

xbomb: add version 2.2b
This commit is contained in:
Pascal Wittmann 2015-05-24 20:22:56 +02:00
commit 72550060dc
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, libX11, libXaw }:
stdenv.mkDerivation rec {
name = "xbomb-2.2b";
src = fetchurl {
url = "http://www.gedanken.org.uk/software/xbomb/download/${name}.tgz";
sha256 = "0692gjw28qvh8wj9l58scjw6kxj7jdyb3yzgcgs9wcznq11q839m";
};
buildInputs = [ libX11 libXaw ];
preBuild = ''
substituteInPlace Makefile \
--replace /usr/local $out
'';
meta = with stdenv.lib; {
homepage = http://www.gedanken.org.uk/software/xbomb/;
description = "Minesweeper for X11 with various grid sizes and shapes";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}

View File

@ -9993,6 +9993,8 @@ let
wpa_supplicant_gui = callPackage ../os-specific/linux/wpa_supplicant/gui.nix { };
xbomb = callPackage ../games/xbomb { };
xf86_input_mtrack = callPackage ../os-specific/linux/xf86-input-mtrack {
inherit (xorg) utilmacros xproto inputproto xorgserver;
};