nixpkgs/pkgs/games/atanks/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
657 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, allegro }:
stdenv.mkDerivation rec {
pname = "atanks";
2021-08-20 17:32:06 +00:00
version = "6.6";
src = fetchurl {
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=";
};
buildInputs = [ allegro ];
2017-03-23 19:52:59 +00:00
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" "CXX=g++" ];
meta = with lib; {
description = "Atomic Tanks ballistics game";
mainProgram = "atanks";
homepage = "http://atanks.sourceforge.net/";
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
2024-07-03 09:37:36 +00:00
license = licenses.gpl2Plus;
};
}