Files
nixpkgs/pkgs/development/python-modules/leveldb/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
666 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
setuptools,
}:
buildPythonPackage rec {
pname = "leveldb";
version = "0.201";
pyproject = true;
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
sha256 = "1cffe776842917e09f073bd6ea5856c64136aebddbe51bd17ea29913472fecbf";
};
nativeBuildInputs = [ setuptools ];
meta = {
homepage = "https://code.google.com/archive/p/py-leveldb/";
description = "Thread-safe Python bindings for LevelDB";
platforms = [
"x86_64-linux"
"i686-linux"
];
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.aanderse ];
};
}