lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 55 lines 2.0 kB view raw
1{ lib, stdenv, fetchFromGitHub, SDL, SDL_ttf, SDL_gfx, SDL_mixer, autoreconfHook, 2 libpng, glew, makeDesktopItem }: 3 4stdenv.mkDerivation rec { 5 pname = "hyperrogue"; 6 version = "11.3o"; 7 8 src = fetchFromGitHub { 9 owner = "zenorogue"; 10 repo = "hyperrogue"; 11 rev = "v${version}"; 12 sha256 = "0bijgbqpc867pq8lbwwvcnc713gm51mmz625xb5br0q2qw09nkyh"; 13 }; 14 15 CPPFLAGS = "-I${SDL.dev}/include/SDL"; 16 17 buildInputs = [ autoreconfHook SDL SDL_ttf SDL_gfx SDL_mixer libpng glew ]; 18 19 desktopItem = makeDesktopItem { 20 name = "hyperrogue"; 21 desktopName = "HyperRogue"; 22 genericName = "HyperRogue"; 23 comment = meta.description; 24 icon = "hyperrogue"; 25 exec = "hyperrogue"; 26 categories = "Game;AdventureGame;"; 27 }; 28 29 postInstall = '' 30 install -m 444 -D ${desktopItem}/share/applications/hyperrogue.desktop \ 31 $out/share/applications/hyperrogue.desktop 32 install -m 444 -D hyperroid/app/src/main/res/drawable-ldpi/icon.png \ 33 $out/share/icons/hicolor/36x36/apps/hyperrogue.png 34 install -m 444 -D hyperroid/app/src/main/res/drawable-mdpi/icon.png \ 35 $out/share/icons/hicolor/48x48/apps/hyperrogue.png 36 install -m 444 -D hyperroid/app/src/main/res/drawable-hdpi/icon.png \ 37 $out/share/icons/hicolor/72x72/apps/hyperrogue.png 38 install -m 444 -D hyperroid/app/src/main/res/drawable-xhdpi/icon.png \ 39 $out/share/icons/hicolor/96x96/apps/hyperrogue.png 40 install -m 444 -D hyperroid/app/src/main/res/drawable-xxhdpi/icon.png \ 41 $out/share/icons/hicolor/144x144/apps/hyperrogue.png 42 install -m 444 -D hyperroid/app/src/main/res/drawable-xxxhdpi/icon.png \ 43 $out/share/icons/hicolor/192x192/apps/hyperrogue.png 44 ''; 45 46 enableParallelBuilding = true; 47 48 meta = with lib; { 49 homepage = "http://www.roguetemple.com/z/hyper/"; 50 description = "A roguelike game set in hyperbolic geometry"; 51 maintainers = with maintainers; [ rardiol ]; 52 license = licenses.gpl2; 53 platforms = platforms.all; 54 }; 55}