Unverified Commit b0113fef authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

cemu-ti: unstable-2022-06-29 -> 2.0 (#342156)

parents 52cbc8d6 0c689980
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, qmake
, cmake
, pkg-config
, wrapQtAppsHook
, qt6
, libarchive
, libpng
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "CEmu";
  version = "unstable-2022-06-29";
  version = "2.0";
  src = fetchFromGitHub {
    owner = "CE-Programming";
    repo = "CEmu";
    rev = "880d391ba9f8b7b2ec36ab9b45a34e9ecbf744e9";
    hash = "sha256-aFwGZJceh1jEP8cEajY5wYlSaFuNhYvSoZ/E1QDfJEI=";
    rev = "v${finalAttrs.version}";
    hash = "sha256-fohsIJrvPDMmYHoPbmYQlKLMnj/B3XEBaerZYuqxvd8=";
    fetchSubmodules = true;
  };

  sourceRoot = "${finalAttrs.src.name}/gui/qt/";


  nativeBuildInputs = [
    qmake
    wrapQtAppsHook
    cmake
    qt6.wrapQtAppsHook
    pkg-config
  ];

  buildInputs = [
    qt6.qtbase
    libarchive
    libpng
  ];

  qmakeFlags = [
    "gui/qt"
  ];

  meta = with lib; {
    description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
    mainProgram = "CEmu";
@@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
    platforms = [ "x86_64-linux" "x86_64-darwin" ];
    broken = stdenv.isDarwin;
  };
}
})