1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonAtLeast,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "leveldb";
11 version = "0.201";
12
13 pyproject = true;
14
15 disabled = pythonAtLeast "3.12";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "1cffe776842917e09f073bd6ea5856c64136aebddbe51bd17ea29913472fecbf";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 meta = with lib; {
25 homepage = "https://code.google.com/archive/p/py-leveldb/";
26 description = "Thread-safe Python bindings for LevelDB";
27 platforms = [
28 "x86_64-linux"
29 "i686-linux"
30 ];
31 license = licenses.bsd3;
32 maintainers = [ maintainers.aanderse ];
33 };
34}