depot/third_party/nixpkgs/pkgs/development/python-modules/textdistance/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

23 lines
562 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "textdistance";
version = "4.5.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-Nk1D9PZjV0JmLj5s9TcqhoWUFshKPJsu+dZtRPWkOFw=";
};
# There aren't tests
doCheck = false;
pythonImportsCheck = [ "textdistance" ];
meta = with lib; {
description = "Python library for comparing distance between two or more sequences";
homepage = "https://github.com/life4/textdistance";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}