11 stdenv.mkDerivation rec {
12 pname = "dwarf-therapist";
15 src = fetchFromGitHub {
16 owner = "Dwarf-Therapist";
17 repo = "Dwarf-Therapist";
19 sha256 = "sha256-zsEG68ioSw64UfmqlTLO1i5sObg8C4zxvdPxdQGMhhU=";
22 nativeBuildInputs = [ texlive cmake ninja ];
23 buildInputs = [ qtbase qtdeclarative ];
26 if stdenv.isDarwin then ''
27 mkdir -p $out/Applications
28 cp -r DwarfTherapist.app $out/Applications
31 dontWrapQtApps = true;
34 description = "Tool to manage dwarves in a running game of Dwarf Fortress";
35 maintainers = with maintainers; [ abbradar bendlas numinit jonringer ];
36 license = licenses.mit;
37 platforms = platforms.x86;
38 homepage = "https://github.com/Dwarf-Therapist/Dwarf-Therapist";