|
32 | 32 | platforms,
|
33 | 33 | }:
|
34 | 34 | let
|
35 |
| -# get rid of this nonsense |
36 | 35 | zep = fetchFromGitHub {
|
37 | 36 | owner = "grumpycoders";
|
38 | 37 | repo = "zep";
|
|
93 | 92 | rev = "b1e342774cbb35467dfdd3634d4f0181a76cbc89";
|
94 | 93 | hash = "sha256-LYvO+chDVo6D++fuFbxqSRltGW3y82SESmtFj39TdSA=";
|
95 | 94 | };
|
96 |
| - # commit = "faee80688fa03d924437118b28720184b7b58de1"; |
97 | 95 | in stdenv.mkDerivation {
|
98 | 96 | pname = "pcsx-redux";
|
99 | 97 | version = "0.99test";
|
100 | 98 | inherit src;
|
101 |
| -/* |
102 |
| - src = fetchFromGitHub { |
103 |
| - owner = "grumpycoders"; |
104 |
| - # owner = "NotExactlySiev"; |
105 |
| - repo = "pcsx-redux"; |
106 |
| - rev = commit; |
107 |
| - hash = "sha256-qbpeNCv7jsRBg7GOn/EAm1A2K3F/zHuMHF/bBOb9q0o="; |
108 |
| - }; |
109 |
| -*/ |
110 | 99 |
|
111 | 100 | postUnpack = ''
|
112 |
| - # rmdir source/third_party/miniaudio |
113 |
| - # rmdir source/third_party/zep |
114 |
| - # rmdir source/third_party/nanosvg |
115 |
| - # rmdir source/third_party/nanovg |
116 |
| - # rmdir source/third_party/imgui |
117 |
| - # rmdir source/third_party/imgui_md |
118 |
| - # rmdir source/third_party/xbyak |
119 |
| - # rmdir source/third_party/luafilesystem |
120 |
| - # rmdir source/third_party/luv |
121 |
| - # rmdir source/third_party/SDL_GameControllerDB |
122 |
| - # rmdir source/third_party/tracy |
123 |
| - # rmdir source/third_party/luajit |
124 |
| -
|
125 | 101 | cp -r ${miniaudio.out} source/third_party/miniaudio
|
126 | 102 | cp -r ${zep.out} source/third_party/zep
|
127 | 103 | cp -r ${nanosvg.out} source/third_party/nanosvg
|
@@ -162,12 +138,7 @@ in stdenv.mkDerivation {
|
162 | 138 | buildInputs = [
|
163 | 139 | stb
|
164 | 140 | ucl
|
165 |
| - #imgui |
166 | 141 | md4c
|
167 |
| - # luajit |
168 |
| - # luajitPackages.lpeg |
169 |
| - #luajitPackages.luafilesystem |
170 |
| - #luajitPackages.lua-protobuf |
171 | 142 | luajitPackages.libluv
|
172 | 143 | multipart-parser-c
|
173 | 144 | fmt
|
@@ -201,15 +172,12 @@ in stdenv.mkDerivation {
|
201 | 172 | enableDebugging = debugBuild;
|
202 | 173 |
|
203 | 174 | enableParallelBuilding = true;
|
204 |
| - # NIX_BUILD_CORES = 10; |
205 | 175 | NIX_BUILD_CORES = 2;
|
206 | 176 |
|
207 | 177 | meta = {
|
208 | 178 | homepage = "https://pcsx-redux.consoledev.net";
|
209 | 179 | description = "PlayStation 1 emulator and debugger";
|
210 |
| - #license = lib.licenses.; |
211 | 180 | mainProgram = "pcsx-redux";
|
212 |
| - #maintainers = with lib.maintainers; []; |
213 | 181 | inherit platforms;
|
214 | 182 | };
|
215 | 183 | }
|
0 commit comments