mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 17:27:50 +00:00
firebird-emu: init at 1.4 (#42663)
* firebird-emu: init at 1.4 * firebird-emu: limit platform to linux Other platforms fail to compile currently.
This commit is contained in:
parent
c5da007af5
commit
cb303b8074
38
pkgs/misc/emulators/firebird-emu/default.nix
Normal file
38
pkgs/misc/emulators/firebird-emu/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchFromGitHub, qmake, qtbase, qtdeclarative }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "firebird-emu-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nspire-emus";
|
||||
repo = "firebird";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pdca6bgnmzfgf5kp83as99y348gn4plzbxnqxjs61vp489baahq";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
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";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ pneumaticat ];
|
||||
# Only tested on Linux, but likely possible to build on, e.g. macOS
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -2399,6 +2399,8 @@ with pkgs;
|
||||
|
||||
fio = callPackage ../tools/system/fio { };
|
||||
|
||||
firebird-emu = libsForQt5.callPackage ../misc/emulators/firebird-emu { };
|
||||
|
||||
flamerobin = callPackage ../applications/misc/flamerobin { };
|
||||
|
||||
flashtool = callPackage_i686 ../development/mobile/flashtool {
|
||||
|
Loading…
Reference in New Issue
Block a user