Unverified Commit cbfdeba0 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #222247 from wegank/firebird-emu-bump

firebird-emu: 1.5 -> 1.6
parents 4af0426b c24515de
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2,29 +2,20 @@

mkDerivation rec {
  pname = "firebird-emu";
  version = "1.5";
  version = "1.6";

  src = fetchFromGitHub {
    owner = "nspire-emus";
    repo = "firebird";
    rev = "v${version}";
    sha256 = "sha256-T62WB6msdB6/wIulqd/468JrCEiPGUrvtpjkZyo4wiA=";
    fetchSubmodules = true;
    hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE=";
  };

  nativeBuildInputs = [ qmake ];

  buildInputs = [ qtbase qtdeclarative ];

  makeFlags = [ "INSTALL_ROOT=$(out)" ];

  # Attempts to install to /usr/bin and /usr/share/applications, which Nix does
  # not use.
  prePatch = ''
    substituteInPlace firebird.pro \
      --replace '/usr/' '/'
  '';

  meta = {
    homepage = "https://github.com/nspire-emus/firebird";
    description = "Third-party multi-platform emulator of the ARM-based TI-Nspire™ calculators";