Skip to content

Commit 7eb38da

Browse files
marius851000bobby285271
authored andcommitted
python3Packages.skytemple-files: 1.7.0 -> 1.8.3
SkyTemple/skytemple-files@1.7.0...1.8.3
1 parent 8ecacff commit 7eb38da

File tree

1 file changed

+8
-14
lines changed
  • pkgs/development/python-modules/skytemple-files

1 file changed

+8
-14
lines changed

pkgs/development/python-modules/skytemple-files/default.nix

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
lib,
44
buildPythonPackage,
55
fetchFromGitHub,
6-
fetchpatch2,
76
appdirs,
87
dungeon-eos,
98
explorerscript,
@@ -29,7 +28,7 @@
2928

3029
buildPythonPackage rec {
3130
pname = "skytemple-files";
32-
version = "1.7.0";
31+
version = "1.8.3";
3332
pyproject = true;
3433

3534
disabled = pythonOlder "3.9";
@@ -38,19 +37,11 @@ buildPythonPackage rec {
3837
owner = "SkyTemple";
3938
repo = "skytemple-files";
4039
rev = version;
41-
hash = "sha256-G2AAQ+eRnsMTWrAF0SNmxUmOoHTSMCuSy1kUZbFy8y0=";
40+
hash = "sha256-4ENuYq074j/VdzLyrGVCGaZhoStwlgJWTqGbrt20A3Q=";
4241
# Most patches are in submodules
4342
fetchSubmodules = true;
4443
};
4544

46-
patches = [
47-
(fetchpatch2 {
48-
name = "fix-tests.patch";
49-
url = "https://github.com/SkyTemple/skytemple-files/commit/854e5514e6c63ba082618d14643e3a4b30a6c2b2.patch";
50-
hash = "sha256-oTV2EQQ2OPgu2pYB2fLd4jODfybnV29YNLxzDs2v6Cg=";
51-
})
52-
];
53-
5445
postPatch = ''
5546
substituteInPlace skytemple_files/patch/arm_patcher.py skytemple_files/data/data_cd/armips_importer.py \
5647
--replace-fail "exec_name = os.getenv(\"SKYTEMPLE_ARMIPS_EXEC\", f\"{prefix}armips\")" "exec_name = \"${armips}/bin/armips\""
@@ -86,10 +77,13 @@ buildPythonPackage rec {
8677
parameterized
8778
xmldiff
8879
] ++ optional-dependencies.spritecollab;
89-
pytestFlagsArray = [ "test/" ];
80+
81+
preCheck = "pushd test";
82+
postCheck = "popd";
83+
9084
disabledTestPaths = [
91-
"test/skytemple_files_test/common/spritecollab/sc_online_test.py"
92-
"test/skytemple_files_test/compression_container/atupx/atupx_test.py" # Particularly long test
85+
"skytemple_files_test/common/spritecollab/sc_online_test.py"
86+
"skytemple_files_test/compression_container/atupx/atupx_test.py" # Particularly long test
9387
];
9488

9589
pythonImportsCheck = [ "skytemple_files" ];

0 commit comments

Comments
 (0)