Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 = "0.6.1"; 19 format = "flit"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 sha256 = "sha256-Jvg5ARQ+30ry8/9akeLSrSmORuLO4DyAcdN6I6Y8y/w="; 26 }; 27 28 nativeBuildInputs = [ 29 flit-core 30 ]; 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 homepage = "https://github.com/executablebooks/jupyter-cache"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ marsam ]; 50 }; 51}