1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lesscpy, 6 matplotlib, 7 notebook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "jupyter-themes"; 13 version = "0.20.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "dunovank"; 18 repo = "jupyter-themes"; 19 tag = "v${version}"; 20 hash = "sha256-AWbUXMOA6k2LpZtcJOPxTZb1oL5vLDbBq4aEhXWvy9M="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 dependencies = [ 26 lesscpy 27 matplotlib 28 notebook 29 ]; 30 31 pythonImportsCheck = [ "jupyterthemes" ]; 32 33 meta = { 34 description = "Theme-ify your Jupyter Notebooks!"; 35 homepage = "https://github.com/dunovank/jupyter-themes"; 36 changelog = "https://github.com/dunovank/jupyter-themes/blob/v${version}/CHANGES.md"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ jherland ]; 39 mainProgram = "jupyter-theme"; 40 }; 41}