Files
nixpkgs/pkgs/applications/science/computer-architecture/qtrvsim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
897 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
wrapQtAppsHook,
qtbase,
}:
stdenv.mkDerivation rec {
pname = "QtRVSim";
version = "0.9.8";
src = fetchFromGitHub {
owner = "cvut";
repo = "qtrvsim";
tag = "v${version}";
sha256 = "sha256-+EpPDA2+mBTdQjq6i9TN11yeXqvJA28JtmdNihM1a/U=";
};
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";
};
}