1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "minidb"; 10 version = "2.0.6"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "thp"; 17 repo = "minidb"; 18 rev = version; 19 hash = "sha256-H7W+GBapT9uJgbPlARp4ZLKTN7hZlF/FbNo7rObqDM4="; 20 }; 21 22 checkInputs = [ 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