mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
653 B
Nix
25 lines
653 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";
|
|
mainProgram = "atanks";
|
|
homepage = "http://atanks.sourceforge.net/";
|
|
maintainers = [ maintainers.raskin ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|