diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-15 16:59:06 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:56 +0200 |
commit | 599b9045bae6deac0683610bf8f0bad86dd1ac1b (patch) | |
tree | 64344d86ef66b9aa6de892bde050a7134a17b8ac /pkgs/development/python-modules/python-levenshtein | |
parent | 7e8a4f67fefadd5598cc37d0d08dba1c1a336a99 (diff) | |
download | nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar.gz nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar.bz2 nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar.lz nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar.xz nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.tar.zst nixlib-599b9045bae6deac0683610bf8f0bad86dd1ac1b.zip |
pythonPackages.python-Levenshtein: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/python-levenshtein')
-rw-r--r-- | pkgs/development/python-modules/python-levenshtein/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-levenshtein/default.nix b/pkgs/development/python-modules/python-levenshtein/default.nix new file mode 100644 index 000000000000..7a16621da0a5 --- /dev/null +++ b/pkgs/development/python-modules/python-levenshtein/default.nix @@ -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 ]; + }; + +} |