python312Packages.llm-gguf: init at 0.2 (#364926)
[NixPkgs.git] / pkgs / development / python-modules / tinydb / default.nix
blobf62cefdbbd9fa2814c01f55bcde98718d444bffc
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8   pytest-cov-stub,
9   pyyaml,
12 buildPythonPackage rec {
13   pname = "tinydb";
14   version = "4.8.2";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "msiemens";
21     repo = "tinydb";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-N/45XB7ZuZiq25v6DQx4K9NRVnBbUHPeiKKbxQ9YB3E=";
24   };
26   build-system = [
27     poetry-core
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     pytest-cov-stub
33     pyyaml
34   ];
36   pythonImportsCheck = [ "tinydb" ];
38   meta = {
39     description = "Lightweight document oriented database written in Python";
40     homepage = "https://tinydb.readthedocs.org/";
41     changelog = "https://tinydb.readthedocs.io/en/latest/changelog.html";
42     license = lib.licenses.mit;
43     maintainers = with lib.maintainers; [ marcus7070 ];
44   };