Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.josepy: backport test fix

K900 67cdc348 3bd454d3

+10
+10
pkgs/development/python-modules/josepy/default.nix
··· 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 poetry-core, 7 pyopenssl, 8 pytestCheckHook, ··· 20 inherit pname version; 21 hash = "sha256-MIs7+c6CWtTUu6djcs8ZtdwcLOlqnSmPlkKXXmS9E90="; 22 }; 23 24 nativeBuildInputs = [ poetry-core ]; 25
··· 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 + fetchpatch, 7 poetry-core, 8 pyopenssl, 9 pytestCheckHook, ··· 21 inherit pname version; 22 hash = "sha256-MIs7+c6CWtTUu6djcs8ZtdwcLOlqnSmPlkKXXmS9E90="; 23 }; 24 + 25 + patches = [ 26 + # don't fail tests on openssl deprecation warning, upstream is working on proper fix 27 + # FIXME: remove for next update 28 + (fetchpatch { 29 + url = "https://github.com/certbot/josepy/commit/350410fc1d38c4ac8422816b6865ac8cd9c60fc7.diff"; 30 + hash = "sha256-QGbzonXb5BtTTWDeDqnZhbS6gHce99vIOm/H8QYeGXY="; 31 + }) 32 + ]; 33 34 nativeBuildInputs = [ poetry-core ]; 35