summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-09-21 17:21:20 +0200
committerGitHub <noreply@github.com>2016-09-21 17:21:20 +0200
commit237d049f3e2a203e9c039f2f927a9fec796fcb84 (patch)
tree149ecf3169f52f78770372b214e9e9d63dfdfdea
parent64abf85e09ea7911755a0eb36f2afaac04be6e32 (diff)
parentfaf89430958139fe97813474cb13fda3f55ca94e (diff)
downloadnixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar.gz
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar.bz2
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar.lz
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar.xz
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.tar.zst
nixlib-237d049f3e2a203e9c039f2f927a9fec796fcb84.zip
Merge pull request #18812 from aske/levenshtein
pythonPackages.python-Levenshtein: init at 0.12.0
-rw-r--r--pkgs/top-level/python-packages.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index e20129c77e91..ce240b4fa0bb 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -12842,6 +12842,26 @@ in modules // {
     ];
   };
 
+  python-Levenshtein = buildPythonPackage rec {
+    name = "python-Levenshtein-${version}";
+    version = "0.12.0";
+
+    src = pkgs.fetchurl {
+      url = "mirror://pypi/p/python-Levenshtein/${name}.tar.gz";
+      sha256 = "1c9ybqcja31nghfcc8xxbbz9h60s9qi12b9hr4jyl69xbvg12fh3";
+    };
+
+    # No tests included in archive
+    doCheck = false;
+
+    meta = {
+      description = "Functions for fast computation of Levenshtein distance and string similarity";
+      homepage    = "https://github.com/ztane/python-Levenshtein";
+      license     = licenses.gpl2;
+      maintainers = with maintainers; [ aske ];
+    };
+  };
+
   libcloud = buildPythonPackage (rec {
     name = "libcloud-0.18.0";