depot/third_party/nixpkgs/pkgs/development/python-modules/python-levenshtein/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

25 lines
577 B
Nix

{ lib, 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 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 ];
};
}