firebird-emu: migrate to by-name, switch from rev to tag (#506305)
This commit is contained in:
+7
-11
@@ -2,11 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
qmake,
|
||||
qtbase,
|
||||
qtdeclarative,
|
||||
qtquickcontrols,
|
||||
wrapQtAppsHook,
|
||||
qt5,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "firebird-emu";
|
||||
@@ -15,20 +11,20 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "nspire-emus";
|
||||
repo = "firebird";
|
||||
rev = "v${finalAttrs.version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-ZptjlnOiF+hKuKYvBFJL95H5YQuR99d4biOco/MVEmE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapQtAppsHook
|
||||
qmake
|
||||
qt5.wrapQtAppsHook
|
||||
qt5.qmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtdeclarative
|
||||
qtquickcontrols
|
||||
qt5.qtbase
|
||||
qt5.qtdeclarative
|
||||
qt5.qtquickcontrols
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
@@ -1249,8 +1249,6 @@ with pkgs;
|
||||
fceux-qt5 = fceux.override { ___qtVersion = "5"; };
|
||||
fceux-qt6 = fceux.override { ___qtVersion = "6"; };
|
||||
|
||||
firebird-emu = libsForQt5.callPackage ../applications/emulators/firebird-emu { };
|
||||
|
||||
gcdemu = callPackage ../applications/emulators/cdemu/gui.nix { };
|
||||
|
||||
goldberg-emu = callPackage ../applications/emulators/goldberg-emu {
|
||||
|
||||
Reference in New Issue
Block a user