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 { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "textdistance"; pname = "textdistance";
version = "4.6.0"; version = "4.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;