2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXaw }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xbomb-2.2b";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.gedanken.org.uk/software/xbomb/download/${name}.tgz";
|
|
|
|
sha256 = "0692gjw28qvh8wj9l58scjw6kxj7jdyb3yzgcgs9wcznq11q839m";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
|
|
|
|
|
|
makeFlags = [
|
2021-02-05 17:12:51 +00:00
|
|
|
"INSTDIR=${placeholder "out"}"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.gedanken.org.uk/software/xbomb/";
|
|
|
|
description = "Minesweeper for X11 with various grid sizes and shapes";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|