about summary refs log tree commit diff
path: root/pkgs/development/python-modules/editdistpy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/editdistpy/default.nix')
-rw-r--r--pkgs/development/python-modules/editdistpy/default.nix54
1 files changed, 25 insertions, 29 deletions
diff --git a/pkgs/development/python-modules/editdistpy/default.nix b/pkgs/development/python-modules/editdistpy/default.nix
index 537f4851f6a93..f6b18b372149b 100644
--- a/pkgs/development/python-modules/editdistpy/default.nix
+++ b/pkgs/development/python-modules/editdistpy/default.nix
@@ -1,31 +1,32 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
 
-, pytestCheckHook
+  pytestCheckHook,
 
-, pythonOlder
+  pythonOlder,
 
-, setuptools
-, cython
+  setuptools,
+  cython,
 
-, symspellpy
-, numpy
-, editdistpy
+  symspellpy,
+  numpy,
+  editdistpy,
 }:
 
 buildPythonPackage rec {
   pname = "editdistpy";
-  version = "0.1.3";
+  version = "0.1.4";
   pyproject = true;
 
-  disabled = pythonOlder "3.6";
+  disabled = pythonOlder "3.8";
 
   src = fetchFromGitHub {
     owner = "mammothb";
     repo = "editdistpy";
     rev = "refs/tags/v${version}";
-    hash = "sha256-4CtKadKpFmlZnz10NG0404oFl9DkdQwWwRSWgUPdh94=";
+    hash = "sha256-OSJXiuJtZ4w1IiRaZQZH2DDxA0AGoRHp0BKXdysff0Y=";
   };
 
   build-system = [
@@ -47,23 +48,18 @@ buildPythonPackage rec {
   '';
 
   passthru.tests = {
-    check = editdistpy.overridePythonAttrs (
-      _: {
-        doCheck = true;
-      }
-    );
+    check = editdistpy.overridePythonAttrs (_: {
+      doCheck = true;
+    });
   };
 
-  pythonImportsCheck = [
-    "editdistpy"
-  ];
+  pythonImportsCheck = [ "editdistpy" ];
 
-  meta = with lib;
-    {
-      description = "Fast Levenshtein and Damerau optimal string alignment algorithms";
-      homepage = "https://github.com/mammothb/editdistpy";
-      changelog = "https://github.com/mammothb/editdistpy/releases/tag/v${version}";
-      license = licenses.mit;
-      maintainers = with maintainers; [ vizid ];
-    };
+  meta = with lib; {
+    description = "Fast Levenshtein and Damerau optimal string alignment algorithms";
+    homepage = "https://github.com/mammothb/editdistpy";
+    changelog = "https://github.com/mammothb/editdistpy/releases/tag/v${version}";
+    license = licenses.mit;
+    maintainers = with maintainers; [ vizid ];
+  };
 }