xbomb: add version 2.2b

This commit is contained in:
Jan Malakhovski 2015-04-29 23:22:39 +00:00
parent 59ab07351b
commit 3d02048283
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

@ -9986,6 +9986,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;
};