depot/third_party/nixpkgs/pkgs/development/python-modules/python-levenshtein/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

25 lines
581 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "python-Levenshtein";
version = "0.12.2";
src = fetchPypi {
inherit pname version;
sha256 = "dc2395fbd148a1ab31090dd113c366695934b9e85fe5a4b2a032745efd0346f6";
};
# 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 ];
};
}