depot/third_party/nixpkgs/pkgs/games/atanks/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

23 lines
625 B
Nix

{ lib, stdenv, fetchurl, allegro }:
stdenv.mkDerivation rec {
pname = "atanks";
version = "6.6";
src = fetchurl {
url = "mirror://sourceforge/project/atanks/atanks/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-vGse/J/H52JPrR2DUtcuknvg+6IWC7Jbtri9bGNwv0M=";
};
buildInputs = [ allegro ];
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
meta = with lib; {
description = "Atomic Tanks ballistics game";
homepage = "http://atanks.sourceforge.net/";
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}