about summary refs log tree commit diff
diff options
context:
space:
mode:
authorwxt2024-11-14 19:45:53 +0800
committergithub-actions[bot]2024-11-15 10:39:00 +0000
commit698795c44328860e9850502009895ecb98ebd5de (patch)
treedcf1d75f802d6b7836c62e5170e1844967d60089
parent7bdd6ff0f072db368e7e305336e5fbba56244792 (diff)
python3Packages.symspellpy: fix build backport-355890-to-release-24.11
(cherry picked from commit 5ce7ad230b2c29fb17ab318bd1f5c5c4a95db7d1)
-rw-r--r--pkgs/development/python-modules/symspellpy/default.nix21
1 files changed, 3 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/symspellpy/default.nix b/pkgs/development/python-modules/symspellpy/default.nix
index e52fd3cc24fc..b0a9bc7b58ca 100644
--- a/pkgs/development/python-modules/symspellpy/default.nix
+++ b/pkgs/development/python-modules/symspellpy/default.nix
@@ -25,21 +25,6 @@ buildPythonPackage rec {
 
   disabled = pythonOlder "3.8";
 
-  patches = [
-    # patch for fix tests
-    # https://github.com/mammothb/symspellpy/pull/151
-    (fetchpatch {
-      name = "fix-pkg-resources-deprecation-warning.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 {
     owner = "mammothb";
     repo = "symspellpy";
@@ -62,11 +47,11 @@ buildPythonPackage rec {
     "symspellpy.symspellpy"
   ];
 
-  meta = with lib; {
+  meta = {
     description = "Python port of SymSpell v6.7.1, which provides much higher speed and lower memory consumption";
     homepage = "https://github.com/mammothb/symspellpy";
     changelog = "https://github.com/mammothb/symspellpy/releases/tag/v${version}";
-    license = licenses.mit;
-    maintainers = with maintainers; [ vizid ];
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ vizid ];
   };
 }