mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
68 lines
1.4 KiB
Nix
68 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";
|
|
mainProgram = "rpcemu-interpreter";
|
|
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;
|
|
};
|
|
})
|