Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / atanks / default.nix
blob197cadfea29cdbecc6f7bc3d503bc5444accb927
1 { lib, stdenv, fetchurl, allegro }:
3 stdenv.mkDerivation rec {
4   pname = "atanks";
5   version = "6.6";
7   src = fetchurl {
8     url = "mirror://sourceforge/project/atanks/atanks/${pname}-${version}/${pname}-${version}.tar.gz";
9     sha256 = "sha256-vGse/J/H52JPrR2DUtcuknvg+6IWC7Jbtri9bGNwv0M=";
10   };
12   buildInputs = [ allegro ];
14   makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
16   meta = with lib; {
17     description = "Atomic Tanks ballistics game";
18     homepage = "http://atanks.sourceforge.net/";
19     maintainers = [ maintainers.raskin ];
20     platforms = platforms.linux;
21     license = licenses.gpl2;
22   };