14 stdenv.mkDerivation rec {
16 # Pulling unstable version as latest stable does not build against gcc-13.
17 version = "2.2.6-unstable-2024-04-04";
19 src = fetchFromGitHub {
22 rev = "878087332afa3558dc8ca657f80a16ecdcf82818";
23 fetchSubmodules = true;
24 hash = "sha256-aNJTM/s4GNhWVXQxK1R/rIN/NmeKglibQZMh8ENjIzo=";
42 '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
43 mkdir -p $out/Applications
44 cp -r Ripes.app $out/Applications/
45 makeBinaryWrapper $out/Applications/Ripes.app/Contents/MacOS/Ripes $out/bin/Ripes
46 '' + lib.optionalString stdenv.hostPlatform.isLinux ''
47 install -D Ripes $out/bin/Ripes
49 cp -r ${src}/appdir/usr/share $out/share
53 passthru.updateScript = unstableGitUpdater { };
56 description = "Graphical processor simulator and assembly editor for the RISC-V ISA";
57 homepage = "https://github.com/mortbopet/Ripes";
58 license = licenses.mit;
59 platforms = platforms.unix;
60 mainProgram = "Ripes";
61 maintainers = with maintainers; [ rewine ];