mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.mechanize: add patch for python 3.13
Hydra Failure: https://hydra.nixos.org/build/299849713
Ref: https://github.com/python-mechanize/mechanize/pull/102
(cherry picked from commit 3eead8e782)
This commit is contained in:
committed by
github-actions[bot]
parent
e0edf257ce
commit
fdfedd21bf
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchpatch,
|
||||
fetchPypi,
|
||||
html5lib,
|
||||
pytestCheckHook,
|
||||
@@ -20,6 +21,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-HeqUf5vn6gq2EPe7xKTja0XWv9/O6imtPTiaiKGVfd8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-cookietests-python3.13.patch";
|
||||
url = "https://github.com/python-mechanize/mechanize/commit/0c1cd4b65697dee4e4192902c9a2965d94700502.patch";
|
||||
hash = "sha256-Xlx8ZwHkFbJqeWs+/fllYZt3CZRu9rD8bMHHPuUlRv4=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ html5lib ];
|
||||
|
||||
Reference in New Issue
Block a user