pythonPackages.leveldb: disable past 3.12

This commit is contained in:
Florian Franzen 2024-09-18 10:31:50 +02:00
parent 395c52d142
commit 0e4b6c1c7f

View File

@ -1,19 +1,26 @@
{
lib,
fetchPypi,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
setuptools,
}:
buildPythonPackage rec {
pname = "leveldb";
version = "0.201";
format = "setuptools";
pyproject = true;
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "1cffe776842917e09f073bd6ea5856c64136aebddbe51bd17ea29913472fecbf";
};
nativeBuildInputs = [ setuptools ];
meta = with lib; {
homepage = "https://code.google.com/archive/p/py-leveldb/";
description = "Thread-safe Python bindings for LevelDB";