ripes: init at 2.2.4

This commit is contained in:
rewine 2022-04-22 22:12:33 +08:00 committed by ehmry
parent ec268bda4b
commit 19429f8f50
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{ lib
, mkDerivation
, fetchFromGitHub
, pkg-config
, qtbase
, qtsvg
, qtcharts
, wrapQtAppsHook
, cmake
, python3
}:
mkDerivation rec {
pname = "ripes";
version = "2.2.4";
src = fetchFromGitHub {
owner = "mortbopet";
repo = "Ripes";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-Aal2A4xypzaY7Oa+boIrXk7ITNKnh5OZIP7DkJjcGu4=";
};
nativeBuildInputs = [
cmake
pkg-config
python3
wrapQtAppsHook
];
buildInputs = [
qtbase
qtsvg
qtcharts
];
installPhase = ''
install -D Ripes $out/bin/Ripes
cp -r ${src}/appdir/usr/share $out/share
'';
meta = with lib; {
description = "A graphical processor simulator and assembly editor for the RISC-V ISA";
homepage = "https://github.com/mortbopet/Ripes";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}

View file

@ -1349,6 +1349,8 @@ with pkgs;
retrofe = callPackage ../applications/emulators/retrofe { };
ripes = libsForQt5.callPackage ../applications/emulators/ripes { };
rpcs3 = libsForQt5.callPackage ../applications/emulators/rpcs3 { };
ruffle = callPackage ../applications/emulators/ruffle { };