9 , hash ? "sha256-VjCXT4sl3HsFILrqTc3JJSeRedZaOXUbf4KvSzTo0uc="
12 stdenv.mkDerivation rec {
13 pname = "dwarf-therapist";
17 src = fetchFromGitHub {
18 owner = "Dwarf-Therapist";
19 repo = "Dwarf-Therapist";
24 nativeBuildInputs = [ cmake ninja ];
25 buildInputs = [ qtbase qtdeclarative ];
27 enableParallelBuilding = true;
29 cmakeFlags = [ "-GNinja" ];
32 if stdenv.hostPlatform.isDarwin then ''
33 mkdir -p $out/Applications
34 cp -r DwarfTherapist.app $out/Applications
37 dontWrapQtApps = true;
40 mainProgram = "dwarftherapist";
41 description = "Tool to manage dwarves in a running game of Dwarf Fortress";
42 maintainers = with maintainers; [ abbradar bendlas numinit ];
43 license = licenses.mit;
44 platforms = platforms.x86;
45 homepage = "https://github.com/Dwarf-Therapist/Dwarf-Therapist";