Files
nixpkgs/pkgs/development/python-modules/textdistance/default.nix
Fabian Affolter 43e2f8dcbd python310Packages.textdistance: add format
- disable on unsupported Python releases
2023-10-05 09:49:18 +02:00

34 lines
723 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "textdistance";
version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-cyxQMVzU7pRjg4ZDzxnWkiEwLDYDHqpgcMMMwKpdqMo=";
};
# 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";
changelog = "https://github.com/life4/textdistance/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}