python310Packages.textdistance: add format

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-10-05 09:49:18 +02:00 committed by GitHub
parent e66ba395c4
commit 43e2f8dcbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,15 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "textdistance";
version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;