1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "minidb"; 10 version = "2.0.7"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "thp"; 17 repo = "minidb"; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-0f2usKoHs4NO/Ir8MhyiAVZFYnUkVH5avdh3QdHzY6s="; 20 }; 21 22 nativeCheckInputs = [ 23 pytestCheckHook 24 ]; 25 26 pythonImportsCheck = [ 27 "minidb" 28 ]; 29 30 meta = with lib; { 31 description = "SQLite3-based store for Python objects"; 32 homepage = "https://thp.io/2010/minidb/"; 33 license = licenses.isc; 34 maintainers = with maintainers; [ tv ]; 35 }; 36} 37