Skip to content

Commit f58a134

Browse files
authored
python311Packages.behave: fix test failure (#378699)
2 parents 1374324 + c96cedc commit f58a134

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5+
fetchpatch2,
56
buildPythonPackage,
67
python,
78
pythonOlder,
@@ -31,6 +32,14 @@ buildPythonPackage rec {
3132
hash = "sha256-G1o0a57MRczwjGLl/tEYC+yx3nxpk6+E58RvR9kVJpA=";
3233
};
3334

35+
patches = [
36+
# fix tests: https://github.com/behave/behave/pull/1214
37+
(fetchpatch2 {
38+
url = "https://github.com/behave/behave/pull/1214/commits/98b63a2524eff50ce1dc7360a46462a6f673c5ea.patch?full_index=1";
39+
hash = "sha256-MwODEm6vhg/H8ksp5XBBP5Uhu2dhB5B1T6Owkxpy3v0=";
40+
})
41+
];
42+
3443
build-system = [ setuptools ];
3544

3645
nativeCheckInputs = [

0 commit comments

Comments
 (0)