mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python312Packages.symspellpy: fix tests for python 3.12
This commit is contained in:
parent
94ee7d64cc
commit
bd2513afae
@ -26,11 +26,17 @@ buildPythonPackage rec {
|
||||
|
||||
patches = [
|
||||
# patch for fix tests
|
||||
# https://github.com/mammothb/symspellpy/pull/151
|
||||
(fetchpatch {
|
||||
name = "fix-pkg-resources-deprecation-warning.patch";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/mammothb/symspellpy/pull/150.patch";
|
||||
url = "https://github.com/mammothb/symspellpy/commit/b0298f4936f28a79612f5509612210868548793f.patch";
|
||||
hash = "sha256-mdUJMrcPv5zczIRP+8u5vicz2IE1AUN3YP0+zg3jqZg=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-error-message-checking-py312.patch";
|
||||
url = "https://github.com/mammothb/symspellpy/commit/f6f91e18316bed717036306c33d2ee82a922563a.patch";
|
||||
hash = "sha256-a5KsESIEIzlbcEPq8sTB2+XkuT/vP81U8StZhaL0MbA=";
|
||||
})
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
Loading…
Reference in New Issue
Block a user