1 { lib, stdenv, fetchFromGitHub, makeDesktopItem, ncurses, libX11, boost, cmake }:
5 description = "A dungeon crawler similar to Angband, based on the works of Tolkien";
7 desktopItem = makeDesktopItem {
10 exec = "${pname}-x11";
12 comment = description;
14 categories = [ "Game" "RolePlaying" ];
18 in stdenv.mkDerivation {
22 src = fetchFromGitHub {
25 rev = "4e6a906c80ff07b75a6acf4ff585b47303805e46";
26 sha256 = "06bddj55y673d7bnzblk8n01z32l6k2rad3bpzr8dmw464hx4wwf";
29 buildInputs = [ ncurses libX11 boost ];
31 nativeBuildInputs = [ cmake ];
38 mkdir -p $out/share/applications
39 cp ${desktopItem}/share/applications/*.desktop $out/share/applications
44 license = licenses.unfree;
45 maintainers = with maintainers; [ cizra ];
46 platforms = platforms.all;
47 homepage = "https://github.com/tome2/tome2";