nixpkgs/pkgs/games/asc/default.nix

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

86 lines
1.3 KiB
Nix
Raw Normal View History

{ fetchFromGitHub
, lib
, stdenv
, SDL
, SDL_image
, SDL_mixer
, SDL_sound
, libsigcxx
, physfs
, boost
, expat
, freetype
, libjpeg
, wxGTK32
, lua
, perl
, pkg-config
, zlib
, zip
, bzip2
, libpng
, libtiff
, fluidsynth
, libmikmod
, libvorbis
, flac
, libogg
}:
stdenv.mkDerivation rec {
2021-06-22 21:44:58 +00:00
pname = "asc";
version = "2.6.3.0";
src = fetchFromGitHub {
owner = "ValHaris";
repo = "asc-hq";
rev = "fa3bca082a5cea2b35812349f99b877f0113aef0";
sha256 = "atamYCN2mOqxV6auToTeWdpKuFfC+GLfLdRsfT0ouwQ=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
SDL
SDL_image
SDL_mixer
SDL_sound
physfs
boost
expat
freetype
libjpeg
wxGTK32
lua
perl
zlib
zip
bzip2
libpng
libtiff
fluidsynth
libmikmod
flac
libvorbis
libogg
libsigcxx
];
meta = with lib; {
description = "Turn based strategy game";
longDescription = ''
Advanced Strategic Command is a free, turn based strategy game. It is
designed in the tradition of the Battle Isle series from Bluebyte and is
2018-04-21 20:43:18 +00:00
currently available for Windows and Linux.
'';
homepage = "https://www.asc-hq.org/";
2014-09-19 17:56:08 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}