2022-03-13 02:08:40 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, wrapQtAppsHook, qtbase }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "QtRVSim";
|
2022-04-25 11:38:39 +00:00
|
|
|
version = "0.9.3";
|
2022-03-13 02:08:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cvut";
|
|
|
|
repo = "qtrvsim";
|
|
|
|
rev = "refs/tags/v${version}";
|
2022-04-25 11:38:39 +00:00
|
|
|
sha256 = "BV/nHRvimPaBtY1nfK1PZ2yJ9xWZpNlwiTRfI/9KQec=";
|
2022-03-13 02:08:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "RISC-V CPU simulator for education purposes";
|
|
|
|
longDescription = ''
|
|
|
|
RISC-V CPU simulator for education purposes with pipeline and cache visualization.
|
|
|
|
Developed at FEE CTU for computer architecture classes.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/cvut/qtrvsim";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
maintainers = with maintainers; [ jdupak ];
|
|
|
|
mainProgram = "qtrvsim_gui";
|
|
|
|
};
|
|
|
|
}
|