2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, allegro }:
|
2010-11-27 19:18:22 +00:00
|
|
|
|
2015-12-29 14:39:45 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "atanks";
|
2021-08-20 17:32:06 +00:00
|
|
|
version = "6.6";
|
2015-12-29 14:39:45 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/project/atanks/atanks/${pname}-${version}/${pname}-${version}.tar.gz";
|
2021-08-20 17:32:06 +00:00
|
|
|
sha256 = "sha256-vGse/J/H52JPrR2DUtcuknvg+6IWC7Jbtri9bGNwv0M=";
|
2010-11-27 19:18:22 +00:00
|
|
|
};
|
|
|
|
|
2015-12-29 14:39:45 +00:00
|
|
|
buildInputs = [ allegro ];
|
|
|
|
|
2017-03-23 19:52:59 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
|
2015-12-29 14:39:45 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2010-11-27 19:18:22 +00:00
|
|
|
description = "Atomic Tanks ballistics game";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "atanks";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://atanks.sourceforge.net/";
|
2015-12-29 14:39:45 +00:00
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2024-07-03 09:37:36 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2010-11-27 19:18:22 +00:00
|
|
|
};
|
2015-12-29 14:39:45 +00:00
|
|
|
}
|