Skip to content

Commit 948a31b

Browse files
authored
python312Packages.oddsprout: fix test on darwin (NixOS#358547)
2 parents ba1deff + 0204464 commit 948a31b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkgs/development/python-modules/oddsprout/default.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
fetchpatch2,
56
poetry-core,
67
pytestCheckHook,
78
pythonOlder,
@@ -30,6 +31,15 @@ buildPythonPackage rec {
3031
ixia
3132
];
3233

34+
patches = [
35+
# https://github.com/trag1c/oddsprout/pull/8
36+
(fetchpatch2 {
37+
name = "allow-periods-in-path.patch";
38+
url = "https://github.com/trag1c/oddsprout/commit/59713a797e7748d48f59f92397981c93a81f2c28.patch";
39+
hash = "sha256-GAIQQi5s4D6KbTSgmP2hlBizLATxtJ/hzpWqPX4O0U4=";
40+
})
41+
];
42+
3343
# has one test `test_main_recursion_error`
3444
# that has a very low (~1%) but nonzero chance to fail,
3545
# this is known upstream (https://github.com/trag1c/oddsprout/issues/5)

0 commit comments

Comments
 (0)