Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 1 | final: prev: let |
| 2 | version = "v135"; |
| 3 | depversion = "v116"; |
| 4 | |
Skyler Turner | 9cc9f09 | 2022-02-08 18:36:02 +0000 | [diff] [blame] | 5 | Mindustry = final.fetchFromGitHub { |
Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 6 | owner = "Anuken"; |
| 7 | repo = "Mindustry"; |
| 8 | rev = "v${version}"; |
| 9 | sha256 = "URmjmfzQAVVl6erbh3+FVFdN7vGTNwYKPtcrwtt9vkg="; |
| 10 | }; |
Skyler Turner | 9cc9f09 | 2022-02-08 18:36:02 +0000 | [diff] [blame] | 11 | Arc = final.fetchFromGitHub { |
Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 12 | owner = "Anuken"; |
| 13 | repo = "Arc"; |
| 14 | rev = "v${depversion}"; |
| 15 | sha256 = "pUUak5P9t4RmSdT+/oH/8oo6l7rjIN08XDJ06TcUn8I="; |
| 16 | }; |
Skyler Turner | 9cc9f09 | 2022-02-08 18:36:02 +0000 | [diff] [blame] | 17 | soloud = final.fetchFromGitHub { |
Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 18 | owner = "Anuken"; |
| 19 | repo = "soloud"; |
| 20 | # this is never pinned in upstream, see https://github.com/Anuken/Arc/issues/39 |
| 21 | rev = "b33dfc5178fcb2613ee68136f4a4869cadc0b06a"; |
| 22 | sha256 = "1vf68i3pnsixch37285ib7afkwmlrc05v783395jsdjzj9i67lj3"; |
| 23 | }; |
| 24 | |
| 25 | unpackPhase = '' |
| 26 | cp -r ${Mindustry} Mindustry |
| 27 | cp -r ${Arc} Arc |
| 28 | chmod -R u+w -- Mindustry Arc |
| 29 | cp ${prev.stb.src}/stb_image.h Arc/arc-core/csrc/ |
| 30 | cp -r ${soloud} Arc/arc-core/csrc/soloud |
| 31 | chmod -R u+w -- Arc |
| 32 | ''; |
Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 33 | in { |
| 34 | mindustry-alpha-wayland = prev.mindustry-wayland.overrideAttrs (old: { |
| 35 | inherit version unpackPhase; |
Skyler Turner | b170233 | 2022-02-08 18:34:23 +0000 | [diff] [blame] | 36 | }); |
Skyler Turner | 038082f | 2022-02-08 18:34:01 +0000 | [diff] [blame] | 37 | } |