python312Packages.thrift: fix build

This commit is contained in:
Robert Schütz
2024-07-21 08:17:12 -07:00
parent 55fd7da611
commit 3a30db4a28
@@ -1,8 +1,8 @@
{
lib,
buildPythonPackage,
distutils,
fetchPypi,
pythonAtLeast,
pythonOlder,
setuptools,
six,
@@ -13,15 +13,17 @@ buildPythonPackage rec {
version = "0.20.0";
pyproject = true;
# Still uses distutils
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-TdZi6t9riuvopBcpUnvWmt9s6qKoaBy+9k0Sc7Po/ro=";
};
build-system = [ setuptools ];
build-system = [
distutils
setuptools
];
dependencies = [ six ];