10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 hash = "sha256-FUIdi1Ytn+INeD9550MW41qXtLb6in0QS3Snt8QaXUA=";
22 substituteInPlace linux/brogue-multiuser.sh \
23 --replace broguedir= "broguedir=$out/opt/brogue-ce #"
35 makeFlags = [ "DATADIR=$(out)/opt/brogue-ce" ];
37 desktopItems = [(makeDesktopItem {
39 desktopName = "Brogue CE";
40 genericName = "Roguelike";
41 comment = "Brave the Dungeons of Doom!";
44 categories = [ "Game" "AdventureGame" ];
50 cp -r bin $out/opt/brogue-ce
51 install -Dm755 linux/brogue-multiuser.sh $out/bin/brogue-ce
52 install -Dm 644 bin/assets/icon.png $out/share/icons/hicolor/256x256/apps/brogue-ce.png
57 description = "A community-lead fork of the minimalist roguelike game Brogue";
58 homepage = "https://github.com/tmewett/BrogueCE";
59 license = licenses.agpl3;
60 maintainers = with maintainers; [ AndersonTorres fgaz ];
61 platforms = platforms.all;