depot/third_party/nixpkgs/pkgs/applications/emulators/rpcemu/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

65 lines
1.4 KiB
Nix

{ lib
, stdenv
, fetchhg
, qt5
}:
let
inherit (qt5) qtbase qtmultimedia wrapQtAppsHook;
in
stdenv.mkDerivation (finalAttrs: {
pname = "rpcemu";
version = "0.9.4";
src = fetchhg {
url = "http://www.home.marutan.net/hg/rpcemu";
rev = "release_${finalAttrs.version}";
sha256 = "sha256-UyjfTfUpSvJNFPkQWPKppxp/kO0hVGo5cE9RuCU8GJI=";
};
nativeBuildInputs = [
wrapQtAppsHook
];
buildInputs = [
qtbase
qtmultimedia
];
configurePhase = ''
runHook preConfigure
cd src/qt5
qmake
runHook postConfigure
'';
installPhase = ''
runHook preInstall
cd ../..
install -Dm755 rpcemu-interpreter -t $out/bin
runHook postInstall
'';
meta = {
homepage = "https://www.marutan.net/rpcemu/index.php";
description = "Risc PC Emulator";
longDescription = ''
RPCEmu is an emulator of classic Acorn computer systems, such as the Risc
PC and A7000. It runs on multiple platforms including Windows, Linux and
Mac OS X.
RPCEmu should be considered Alpha Quality code. It has many known and
unknown bugs, and all files used with it should be well backed up before
using them with RPCEmu.
'';
license = lib.licenses.gpl2Plus;
maintainers = builtins.attrValues {
inherit (lib.maintainers) AndersonTorres;
};
platforms = lib.platforms.linux;
};
})