10 stdenv.mkDerivation rec {
11 pname = "firebird-emu";
14 src = fetchFromGitHub {
15 owner = "nspire-emus";
18 fetchSubmodules = true;
19 hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE=";
22 nativeBuildInputs = [ wrapQtAppsHook qmake ];
24 buildInputs = [ qtbase qtdeclarative qtquickcontrols ];
26 postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
27 mkdir $out/Applications
28 mv $out/bin/${pname}.app $out/Applications/
32 homepage = "https://github.com/nspire-emus/firebird";
33 changelog = "https://github.com/nspire-emus/firebird/releases/tag/v${version}";
34 description = "Third-party multi-platform emulator of the ARM-based TI-Nspireā¢ calculators";
35 license = lib.licenses.gpl3;
36 maintainers = with lib.maintainers; [ pneumaticat ];
37 platforms = lib.platforms.unix;