2024-06-15 19:12:04 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
callPackage,
|
2020-01-08 11:32:45 +00:00
|
|
|
}:
|
2022-05-30 12:36:31 +00:00
|
|
|
let
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pcsx2";
|
2024-04-29 15:13:11 +00:00
|
|
|
version = "1.7.5779";
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-02-26 09:21:31 +00:00
|
|
|
description = "Playstation 2 emulator";
|
2021-12-07 19:44:45 +00:00
|
|
|
longDescription = ''
|
2016-02-26 09:21:31 +00:00
|
|
|
PCSX2 is an open-source PlayStation 2 (AKA PS2) emulator. Its purpose
|
|
|
|
is to emulate the PS2 hardware, using a combination of MIPS CPU
|
|
|
|
Interpreters, Recompilers and a Virtual Machine which manages hardware
|
|
|
|
states and PS2 system memory. This allows you to play PS2 games on your
|
|
|
|
PC, with many additional features and benefits.
|
|
|
|
'';
|
2024-06-15 19:12:04 +00:00
|
|
|
hydraPlatforms = platforms.linux;
|
2020-01-08 11:32:45 +00:00
|
|
|
homepage = "https://pcsx2.net";
|
2024-06-15 19:12:04 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl3Plus
|
|
|
|
lgpl3Plus
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
hrdinka
|
|
|
|
govanify
|
|
|
|
matteopacini
|
|
|
|
];
|
2022-05-30 12:36:31 +00:00
|
|
|
mainProgram = "pcsx2-qt";
|
2024-06-15 19:12:04 +00:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
sourceProvenance =
|
|
|
|
lib.optional stdenv.isDarwin sourceTypes.binaryNativeCode
|
|
|
|
++ lib.optional stdenv.isLinux sourceTypes.fromSource;
|
2016-02-26 09:21:31 +00:00
|
|
|
};
|
2024-06-15 19:12:04 +00:00
|
|
|
in
|
|
|
|
if stdenv.isDarwin then
|
|
|
|
callPackage ./darwin.nix { inherit pname version meta; }
|
|
|
|
else
|
|
|
|
callPackage ./linux.nix { inherit pname version meta; }
|