Add more emulators, try to package comet

This commit is contained in:
CronyAkatsuki 2024-03-29 12:49:07 +01:00
parent 0d3467eeea
commit 0a897b6526
2 changed files with 18 additions and 4 deletions

View File

@ -68,12 +68,23 @@
pandoc # I wish I didn't have to use it pandoc # I wish I didn't have to use it
(nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font (nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
(retroarch.override { (retroarch.override {
cores = with libretro; [ snes9x mgba gambatte ]; cores = with libretro; [
snes9x
mgba
gambatte
flycast
genesis-plus-gx
mupen64plus
melonds
fceumm
];
}) # Retroarch with cores }) # Retroarch with cores
dolphin-emu # Gamecube/wii emulator
duckstation # Playstation 1 emulator duckstation # Playstation 1 emulator
pcsx2 # Playstation 2 emulator pcsx2 # Playstation 2 emulator
ppsspp-sdl-wayland # Playstation portable emulator ppsspp-sdl-wayland # Playstation portable emulator
(callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts (callPackage ./modules/scripts.nix { inherit pkgs; }) # My scripts
# (callPackage ./modules/comet-gog.nix { inherit pkgs; }) # Comet for gog achievements
]; ];
# Environmental variables I can't live without # Environmental variables I can't live without

View File

@ -1,13 +1,16 @@
{ pkgs, ... }: { pkgs, ... }:
with pkgs; with pkgs;
rustPlatform.buildRustProgram rec { rustPlatform.buildRustPackage rec {
pname = "comet-gog"; pname = "comet-gog";
version = "e313c8a"; version = "e313c8a";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "imLinguin"; owner = "imLinguin";
repo = "comet"; repo = "comet";
rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa"; rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa";
hash = "sha256-p4fDm2XdqAOBZTNuw8S29vj5U21t4eeHjtKiK6tN0AM="; hash = "sha256-ctU9yhnlS8x4xY2iUaG7NvPJB4+vJTXzZF2llof4NyM=";
fetchSubmodules = true;
}; };
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = src + /Cargo.lock;
buildInputs = [ protobuf ];
PROTOC = "${protobuf}/bin/protoc";
} }