Merge pull request #228738 from Luflosi/update/aaaaxy
This commit is contained in:
commit
dfc76445d0
|
@ -3,14 +3,16 @@
|
|||
meta.maintainers = with lib.maintainers; [ Luflosi ];
|
||||
|
||||
nodes.machine = {
|
||||
hardware.opengl.enable = true;
|
||||
imports = [
|
||||
./common/x11.nix
|
||||
];
|
||||
};
|
||||
|
||||
# This starts the game from a known state, feeds it a prerecorded set of button presses
|
||||
# and then checks if the final game state is identical to the expected state.
|
||||
# This is also what AAAAXY's CI system does and serves as a good sanity check.
|
||||
testScript = ''
|
||||
machine.wait_for_unit("basic.target")
|
||||
machine.wait_for_x()
|
||||
|
||||
machine.succeed(
|
||||
# benchmark.dem needs to be in a mutable directory,
|
||||
|
@ -18,7 +20,6 @@
|
|||
"mkdir -p '/tmp/aaaaxy/assets/demos/'",
|
||||
"ln -s '${pkgs.aaaaxy.testing_infra}/assets/demos/benchmark.dem' '/tmp/aaaaxy/assets/demos/'",
|
||||
"""
|
||||
'${pkgs.xvfb-run}/bin/xvfb-run' \
|
||||
'${pkgs.aaaaxy.testing_infra}/scripts/regression-test-demo.sh' \
|
||||
'aaaaxy' 'on track for Any%, All Paths and No Teleports' \
|
||||
'${pkgs.aaaaxy}/bin/aaaaxy' '/tmp/aaaaxy/assets/demos/benchmark.dem'
|
||||
|
|
|
@ -17,17 +17,17 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "aaaaxy";
|
||||
version = "1.3.457";
|
||||
version = "1.3.524";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "divVerent";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PN/Gt2iDOWsbKspyWYKjnX98xF6NQuGVFjlEg3ZZpio=";
|
||||
hash = "sha256-9g0wTvG6XSKI7e3RP6e3RoYyvE5UjOYxI5hVINI9Fq8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-vI8EyZgjJA89UmqoDuh/H+qQzAKO9pyqpmA8hci9cco=";
|
||||
vendorHash = "sha256-slvBpweXRLsDegJDQ0ysZ0pugx5fdOOnD/OxWUfUnno=";
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
|
|
Loading…
Reference in a new issue