mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 08:01:14 +00:00
b083a86d74
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bzflag/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.4.14 with grep in /nix/store/z93gp3xa0spbywriag5pg04k2yy8jy3z-bzflag-2.4.14 - directory tree listing: https://gist.github.com/b4b3a993ddc5d7c26bb2c23aad53029c
25 lines
702 B
Nix
25 lines
702 B
Nix
{ stdenv, lib, fetchurl, pkgconfig
|
|
, curl, SDL2, libGLU_combined, glew, ncurses, c-ares }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "bzflag";
|
|
version = "2.4.14";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.bzflag.org/${pname}/source/${version}/${name}.tar.bz2";
|
|
sha256 = "1p4vaap8msk7cfqkcc2nrchw7pp4inbyx706zmlwnmpr9k0nx909";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ curl SDL2 libGLU_combined glew ncurses c-ares ];
|
|
|
|
meta = with lib; {
|
|
description = "Multiplayer 3D Tank game";
|
|
homepage = https://bzflag.org/;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|