Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 86 lines 1.3 kB view raw
1{ 2 fetchFromGitHub, 3 lib, 4 stdenv, 5 SDL, 6 SDL_image, 7 SDL_mixer, 8 SDL_sound, 9 libsigcxx, 10 physfs, 11 boost, 12 expat, 13 freetype, 14 libjpeg, 15 wxGTK32, 16 lua, 17 perl, 18 pkg-config, 19 zlib, 20 zip, 21 bzip2, 22 libpng, 23 libtiff, 24 fluidsynth, 25 libmikmod, 26 libvorbis, 27 flac, 28 libogg, 29}: 30 31stdenv.mkDerivation { 32 pname = "asc"; 33 version = "2.6.3.0"; 34 35 src = fetchFromGitHub { 36 owner = "ValHaris"; 37 repo = "asc-hq"; 38 rev = "fa3bca082a5cea2b35812349f99b877f0113aef0"; 39 sha256 = "atamYCN2mOqxV6auToTeWdpKuFfC+GLfLdRsfT0ouwQ="; 40 }; 41 42 nativeBuildInputs = [ pkg-config ]; 43 44 buildInputs = [ 45 SDL 46 SDL_image 47 SDL_mixer 48 SDL_sound 49 physfs 50 boost 51 expat 52 freetype 53 libjpeg 54 wxGTK32 55 lua 56 perl 57 zlib 58 zip 59 bzip2 60 libpng 61 libtiff 62 fluidsynth 63 libmikmod 64 flac 65 libvorbis 66 libogg 67 libsigcxx 68 ]; 69 70 meta = with lib; { 71 description = "Turn based strategy game"; 72 73 longDescription = '' 74 Advanced Strategic Command is a free, turn based strategy game. It is 75 designed in the tradition of the Battle Isle series from Bluebyte and is 76 currently available for Windows and Linux. 77 ''; 78 79 homepage = "https://www.asc-hq.org/"; 80 81 license = licenses.gpl2Plus; 82 83 maintainers = with maintainers; [ raskin ]; 84 platforms = platforms.linux; 85 }; 86}