at master 888 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 poetry-core, 7 pytestCheckHook, 8 pytest-cov-stub, 9 pyyaml, 10}: 11 12buildPythonPackage rec { 13 pname = "tinydb"; 14 version = "4.8.2"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "msiemens"; 21 repo = "tinydb"; 22 tag = "v${version}"; 23 hash = "sha256-N/45XB7ZuZiq25v6DQx4K9NRVnBbUHPeiKKbxQ9YB3E="; 24 }; 25 26 build-system = [ 27 poetry-core 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 pytest-cov-stub 33 pyyaml 34 ]; 35 36 pythonImportsCheck = [ "tinydb" ]; 37 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 }; 45}