pythonPackages.python-Levenshtein: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 16:59:06 -04:00
committed by Frederik Rietdijk
parent 7e8a4f67fe
commit 599b9045ba
2 changed files with 26 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "python-Levenshtein";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "1c9ybqcja31nghfcc8xxbbz9h60s9qi12b9hr4jyl69xbvg12fh3";
};
# No tests included in archive
doCheck = false;
meta = with stdenv.lib; {
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 ];
};
}