nixpkgs/pkgs/games/atanks/default.nix

23 lines
583 B
Nix
Raw Normal View History

{ stdenv, fetchurl, allegro }:
stdenv.mkDerivation rec {
name = "atanks-${version}";
2017-03-23 19:52:59 +00:00
version = "6.5";
src = fetchurl {
url = "mirror://sourceforge/project/atanks/atanks/${name}/${name}.tar.gz";
2017-03-23 19:52:59 +00:00
sha256 = "0bijsbd51j4wsnmdxj54r92m7h8zqnvh9z3qqdig6zx7a8kjn61j";
};
buildInputs = [ allegro ];
2017-03-23 19:52:59 +00:00
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
meta = with stdenv.lib; {
description = "Atomic Tanks ballistics game";
homepage = http://atanks.sourceforge.net/;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}