biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / emulators / firebird-emu / default.nix
blob28d6c182c7606bf96fd4cb82dffe3eb429b04687
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , qmake
5 , qtbase
6 , qtdeclarative
7 , qtquickcontrols
8 , wrapQtAppsHook
9 }:
10 stdenv.mkDerivation rec {
11   pname = "firebird-emu";
12   version = "1.6";
14   src = fetchFromGitHub {
15     owner = "nspire-emus";
16     repo = "firebird";
17     rev = "v${version}";
18     fetchSubmodules = true;
19     hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE=";
20   };
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/
29   '';
31   meta = {
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;
38   };