Subject: bug#67362: closed (Re: [bug#67362] [PATCH] gnu: Add qtrvsim.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 25 Nov 2023 13:47:02 +0000

Your bug report

#67362: [PATCH] gnu: Add qtrvsim.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67362: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67362
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#67362] [PATCH] gnu: Add qtrvsim.
From: Mathieu Othacehe <[email-masked]>
To: Zheng Junjie <[email-masked]>
Cc: [email-masked]
Date: Sat, 25 Nov 2023 14:46:18 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/packages/emulators.scm (qtrvsim): New variable.

Applied, thanks,

Mathieu

Subject: [PATCH] gnu: Add qtrvsim.
From: Zheng Junjie <[email-masked]>
To: [email-masked]
Date: Wed, 22 Nov 2023 16:48:02 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emulators.scm (qtrvsim): New variable.

Change-Id: I8e51184534fa9990c318008513e1e6566a04b10a
---
 gnu/packages/emulators.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 0729feb071..138b68bc21 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2023 c4droid <[email-masked]>
 ;;; Copyright © 2023 Yovan Naumovski <[email-masked]>
 ;;; Copyright © 2023 Hendursaga <[email-masked]>
+;;; Copyright © 2023 Zheng Junjie <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -111,7 +112,8 @@ (define-module (gnu packages emulators)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
-  #:use-module (guix build-system python))
+  #:use-module (guix build-system python)
+  #:use-module (guix build-system qt))
 
 (define-public vice
   (package
@@ -2492,6 +2494,29 @@ (define-public exomizer
     ;; zlib license with an (non-)advertising clause.
     (license license:zlib)))
 
+(define-public qtrvsim
+  (package
+    (name "qtrvsim")
+    (version "0.9.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/cvut/qtrvsim")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1zi39q8ajkzl8d47sacj0dk1a2n5jmfgr29x9iby59v792g7p8ac"))
+              (modules '((guix build utils)))
+              (snippet #~(begin (delete-file-recursively "external/libelf")))))
+    (build-system qt-build-system)
+    (inputs (list libelf qtbase-5))
+    (home-page "https://github.com/cvut/qtrvsim")
+    (synopsis "RISC-V CPU simulator for education purposes")
+    (description "RISC-V CPU simulator for education purposes with pipeline and
+cache visualization.  Developed at FEE CTU for computer architecture classes.")
+    (license license:gpl3+)))
+
 (define-public cc65
   (package
     (name "cc65")

base-commit: d20ece07dbb09382f361c8bbf0bcab9e83d8b73e
-- 
2.41.0