Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 wrapQtAppsHook, 7 qtbase, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "QtRVSim"; 12 version = "0.9.8"; 13 14 src = fetchFromGitHub { 15 owner = "cvut"; 16 repo = "qtrvsim"; 17 tag = "v${version}"; 18 sha256 = "sha256-+EpPDA2+mBTdQjq6i9TN11yeXqvJA28JtmdNihM1a/U="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 wrapQtAppsHook 24 ]; 25 26 buildInputs = [ qtbase ]; 27 28 meta = with lib; { 29 description = "RISC-V CPU simulator for education purposes"; 30 longDescription = '' 31 RISC-V CPU simulator for education purposes with pipeline and cache visualization. 32 Developed at FEE CTU for computer architecture classes. 33 ''; 34 homepage = "https://github.com/cvut/qtrvsim"; 35 license = licenses.gpl3Plus; 36 platforms = platforms.linux ++ platforms.darwin; 37 maintainers = with maintainers; [ jdupak ]; 38 mainProgram = "qtrvsim_gui"; 39 }; 40}