diff options
Diffstat (limited to 'pkgs/by-name/pc/pcsx2/darwin.nix')
-rw-r--r-- | pkgs/by-name/pc/pcsx2/darwin.nix | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pkgs/by-name/pc/pcsx2/darwin.nix b/pkgs/by-name/pc/pcsx2/darwin.nix deleted file mode 100644 index 20d4ac5a1c390..0000000000000 --- a/pkgs/by-name/pc/pcsx2/darwin.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - stdenvNoCC, - fetchurl, - pname, - version, - meta, - makeWrapper -}: -stdenvNoCC.mkDerivation (finalAttrs: { - inherit pname version meta; - - src = fetchurl { - url = "https://github.com/PCSX2/pcsx2/releases/download/v${version}/pcsx2-v${version}-macos-Qt.tar.xz"; - hash = "sha256-QdYV63lrAwYSDhUOy4nB8qL5LfZkrg/EYHtY2smtZuk="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontPatch = true; - dontConfigure = true; - dontBuild = true; - - sourceRoot = "."; - - installPhase = '' - runHook preInstall - mkdir -p $out/{bin,Applications} - cp -r "PCSX2-v${finalAttrs.version}.app" $out/Applications/PCSX2.app - makeWrapper $out/Applications/PCSX2.app/Contents/MacOS/PCSX2 $out/bin/pcsx2-qt - runHook postInstall - ''; -}) |