ripes: 2.2.6 -> 2.2.6-unstable-2024-01-02

Without the change the build fails on `master` as
https://hydra.nixos.org/build/247694706:

    In file included from /build/source/external/VSRTL/interface/vsrtl_vcdfile.cpp:1:
    /build/source/external/VSRTL/interface/vsrtl_vcdfile.h:31:20: error: 'uint64_t' has not been declared
       31 |     void writeTime(uint64_t time);
          |                    ^~~~~~~~

As the fix was done in one of the external modules it seemed easier to
pull unstable `master` version. Switched to `qt6` and checked if it
starts.
This commit is contained in:
Sergei Trofimovich 2024-02-10 22:50:49 +00:00
parent ef6206934d
commit c218341c52
2 changed files with 11 additions and 7 deletions

View file

@ -1,5 +1,5 @@
{ lib { lib
, mkDerivation , stdenv
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, qtbase , qtbase
@ -8,19 +8,20 @@
, wrapQtAppsHook , wrapQtAppsHook
, cmake , cmake
, python3 , python3
, stdenv , unstableGitUpdater
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "ripes"; pname = "ripes";
version = "2.2.6"; # Pulling unstable version as latest stable does not build against gcc-13.
version = "2.2.6-unstable-2024-01-02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mortbopet"; owner = "mortbopet";
repo = "Ripes"; repo = "Ripes";
rev = "v${version}"; rev = "0faf41b669a93a1944707cd7d111a5e9241425fe";
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-fRkab0G2zjK1VYzH21yhL7Cr0rS4I8ir8gwH9ALy60A="; hash = "sha256-3+jibS1mGYBy9jmucytc7GvB1ZKRfh7aXtDty77hA3k=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -49,11 +50,14 @@ mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; { meta = with lib; {
description = "A graphical processor simulator and assembly editor for the RISC-V ISA"; description = "A graphical processor simulator and assembly editor for the RISC-V ISA";
homepage = "https://github.com/mortbopet/Ripes"; homepage = "https://github.com/mortbopet/Ripes";
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
mainProgram = "Ripes";
maintainers = with maintainers; [ rewine ]; maintainers = with maintainers; [ rewine ];
}; };
} }

View file

@ -2802,7 +2802,7 @@ with pkgs;
retrofe = callPackage ../applications/emulators/retrofe { }; retrofe = callPackage ../applications/emulators/retrofe { };
ripes = libsForQt5.callPackage ../applications/emulators/ripes { }; ripes = qt6Packages.callPackage ../applications/emulators/ripes { };
rpcemu = callPackage ../applications/emulators/rpcemu { }; rpcemu = callPackage ../applications/emulators/rpcemu { };