Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 45 lines 798 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libGLU, 6 libGL, 7 SDL, 8 libglut, 9 SDL_mixer, 10 autoconf, 11 automake, 12 libtool, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "gl-117"; 17 version = "1.3.2"; 18 19 src = fetchurl { 20 url = "mirror://sourceforge/project/gl-117/gl-117/GL-117%20Source/${pname}-${version}.tar.bz2"; 21 sha256 = "1yvg1rp1yijv0b45cz085b29x5x0g5fkm654xdv5qwh2l6803gb4"; 22 }; 23 24 nativeBuildInputs = [ 25 automake 26 autoconf 27 ]; 28 buildInputs = [ 29 libGLU 30 libGL 31 SDL 32 libglut 33 SDL_mixer 34 libtool 35 ]; 36 37 meta = with lib; { 38 description = "Air combat simulator"; 39 mainProgram = "gl-117"; 40 homepage = "https://sourceforge.net/projects/gl-117"; 41 maintainers = with maintainers; [ raskin ]; 42 license = licenses.gpl2Plus; 43 platforms = platforms.linux; 44 }; 45}