1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 attrs, 6 click, 7 flit-core, 8 importlib-metadata, 9 nbclient, 10 nbformat, 11 pyyaml, 12 sqlalchemy, 13 tabulate, 14 pythonOlder, 15}: 16 17buildPythonPackage rec { 18 pname = "jupyter-cache"; 19 version = "1.0.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; 23 24 src = fetchPypi { 25 inherit version; 26 pname = "jupyter_cache"; 27 hash = "sha256-0Pp9dTPNV5gZjYiJMYJpqME4LtOyL2IsCak1ZSH0hoc="; 28 }; 29 30 nativeBuildInputs = [ flit-core ]; 31 32 propagatedBuildInputs = [ 33 attrs 34 click 35 importlib-metadata 36 nbclient 37 nbformat 38 pyyaml 39 sqlalchemy 40 tabulate 41 ]; 42 43 pythonImportsCheck = [ "jupyter_cache" ]; 44 45 meta = with lib; { 46 description = "A defined interface for working with a cache of jupyter notebooks"; 47 mainProgram = "jcache"; 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; [ ]; 52 }; 53}