1{ lib 2, buildPythonPackage 3, fetchPypi 4, attrs 5, click 6, flit-core 7, importlib-metadata 8, nbclient 9, nbformat 10, pyyaml 11, sqlalchemy 12, tabulate 13, pythonOlder 14}: 15 16buildPythonPackage rec { 17 pname = "jupyter-cache"; 18 version = "1.0.0"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit version; 25 pname = "jupyter_cache"; 26 hash = "sha256-0Pp9dTPNV5gZjYiJMYJpqME4LtOyL2IsCak1ZSH0hoc="; 27 }; 28 29 nativeBuildInputs = [ 30 flit-core 31 ]; 32 33 propagatedBuildInputs = [ 34 attrs 35 click 36 importlib-metadata 37 nbclient 38 nbformat 39 pyyaml 40 sqlalchemy 41 tabulate 42 ]; 43 44 pythonImportsCheck = [ "jupyter_cache" ]; 45 46 meta = with lib; { 47 description = "A defined interface for working with a cache of jupyter notebooks"; 48 homepage = "https://github.com/executablebooks/jupyter-cache"; 49 changelog = "https://github.com/executablebooks/jupyter-cache/blob/v${version}/CHANGELOG.md"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ marsam ]; 52 }; 53}