2015-12-29 15:39:45 +01:00
|
|
|
{ stdenv, fetchurl, allegro }:
|
2010-11-27 20:18:22 +01:00
|
|
|
|
2015-12-29 15:39:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "atanks-${version}";
|
2017-03-23 20:52:59 +01:00
|
|
|
version = "6.5";
|
2015-12-29 15:39:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/atanks/atanks/${name}/${name}.tar.gz";
|
2017-03-23 20:52:59 +01:00
|
|
|
sha256 = "0bijsbd51j4wsnmdxj54r92m7h8zqnvh9z3qqdig6zx7a8kjn61j";
|
2010-11-27 20:18:22 +01:00
|
|
|
};
|
|
|
|
|
2015-12-29 15:39:45 +01:00
|
|
|
buildInputs = [ allegro ];
|
|
|
|
|
2017-03-23 20:52:59 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
|
2015-12-29 15:39:45 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2010-11-27 20:18:22 +01:00
|
|
|
description = "Atomic Tanks ballistics game";
|
2015-12-29 15:39:45 +01:00
|
|
|
homepage = http://atanks.sourceforge.net/;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2019-03-27 12:01:57 +01:00
|
|
|
license = licenses.gpl2;
|
2010-11-27 20:18:22 +01:00
|
|
|
};
|
2015-12-29 15:39:45 +01:00
|
|
|
}
|