1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/games/atanks/default.nix

27 lines
649 B
Nix
Raw Normal View History

{ stdenv, fetchurl, allegro }:
stdenv.mkDerivation rec {
name = "atanks-${version}";
version = "6.2";
src = fetchurl {
url = "mirror://sourceforge/project/atanks/atanks/${name}/${name}.tar.gz";
2015-05-10 05:09:40 -04:00
sha256 = "1s1lb87ind0y9d6hmfaf1b9wks8q3hd6w5n9dibq75rxqmcfvlpy";
};
buildInputs = [ allegro ];
patchPhase = ''
substituteInPlace Makefile --replace /usr $out
'';
makeFlags = [ "PREFIX=$(out)/" "INSTALL=install" ];
meta = with stdenv.lib; {
description = "Atomic Tanks ballistics game";
homepage = http://atanks.sourceforge.net/;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}