about summary refs log tree commit diff
path: root/pkgs/applications/virtualization/rvvm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/virtualization/rvvm/default.nix')
-rw-r--r--pkgs/applications/virtualization/rvvm/default.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/applications/virtualization/rvvm/default.nix b/pkgs/applications/virtualization/rvvm/default.nix
deleted file mode 100644
index 2d6b7d3da0c5..000000000000
--- a/pkgs/applications/virtualization/rvvm/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-
-, SDL2
-
-, libX11
-, libXext
-
-, guiBackend ? "sdl"
-
-, enableSDL ? guiBackend == "sdl"
-, enableX11 ? guiBackend == "x11"
-}:
-
-assert lib.assertMsg (builtins.elem guiBackend ["sdl" "x11" "none"]) "Unsupported GUI backend";
-assert lib.assertMsg (!(enableSDL && enableX11)) "RVVM can have only one GUI backend at a time";
-assert lib.assertMsg (stdenv.isDarwin -> !enableX11) "macOS supports only SDL GUI backend";
-
-stdenv.mkDerivation rec {
-  pname = "rvvm";
-  version = "0.6";
-
-  src = fetchFromGitHub {
-    owner = "LekKit";
-    repo = "RVVM";
-    rev = "v${version}";
-    sha256 = "sha256-5nSlKyWDAx0EeKFzzwP5+99XuJz9BHXEF1WNkRMLa9U=";
-  };
-
-  buildInputs = []
-    ++ lib.optionals enableSDL [ SDL2 ]
-    ++ lib.optionals enableX11 [ libX11 libXext ];
-
-  enableParallelBuilding = true;
-
-  buildFlags = [ "all" "lib" ];
-
-  makeFlags = [ "PREFIX=$(out)" ]
-    ++ lib.optional enableSDL "USE_SDL=2" # Use SDL2 instead of SDL1
-    ++ lib.optional (!enableSDL && !enableX11) "USE_FB=0";
-
-  meta = with lib; {
-    homepage = "https://github.com/LekKit/RVVM";
-    description = "RISC-V Virtual Machine";
-    license = with licenses; [ gpl3 /* or */ mpl20 ];
-    platforms = platforms.linux ++ platforms.darwin;
-    maintainers = with maintainers; [ kamillaova ];
-    mainProgram = "rvvm";
-  };
-}