depot/third_party/nixpkgs/pkgs/games/xbomb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
595 B
Nix

{ stdenv, fetchurl, libX11, libXaw }:
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 = [
"INSTDIR=${placeholder ''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;
};
}