at master 701 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "minidb"; 12 version = "2.0.8"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "thp"; 19 repo = "minidb"; 20 tag = version; 21 hash = "sha256-e7wVR+xr+5phNoRnGIxnmrjB1QU9JmyfQiu88PYapA8="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "minidb" ]; 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}