Skip to content

Commit 54a3f8f

Browse files
authored
pythonPackages.leveldb: disable past 3.12 (#342756)
2 parents c0eed58 + 0e4b6c1 commit 54a3f8f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pkgs/development/python-modules/leveldb/default.nix

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
{
22
lib,
3-
fetchPypi,
43
buildPythonPackage,
4+
fetchPypi,
5+
pythonAtLeast,
6+
setuptools,
57
}:
68

79
buildPythonPackage rec {
810
pname = "leveldb";
911
version = "0.201";
10-
format = "setuptools";
12+
13+
pyproject = true;
14+
15+
disabled = pythonAtLeast "3.12";
1116

1217
src = fetchPypi {
1318
inherit pname version;
1419
sha256 = "1cffe776842917e09f073bd6ea5856c64136aebddbe51bd17ea29913472fecbf";
1520
};
1621

22+
nativeBuildInputs = [ setuptools ];
23+
1724
meta = with lib; {
1825
homepage = "https://code.google.com/archive/p/py-leveldb/";
1926
description = "Thread-safe Python bindings for LevelDB";

0 commit comments

Comments
 (0)