From bc46af61a633a6f09e585fd67ea8c132a90c19d9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 25 Mar 2024 17:07:37 +0000 Subject: [PATCH] Install jupyterlab + extensions by default with python --- home/prog/catppuccin_jupyterlab/default.nix | 15 +++++++++++++++ home/prog/default.nix | 13 ++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 home/prog/catppuccin_jupyterlab/default.nix diff --git a/home/prog/catppuccin_jupyterlab/default.nix b/home/prog/catppuccin_jupyterlab/default.nix new file mode 100644 index 00000000..334ae127 --- /dev/null +++ b/home/prog/catppuccin_jupyterlab/default.nix @@ -0,0 +1,15 @@ +{ + buildPythonPackage, + fetchPypi, +}: +buildPythonPackage rec { + pname = "catppuccin_jupyterlab"; + version = "0.2.0"; + format = "wheel"; + src = fetchPypi { + inherit pname version format; + hash = "sha256-qPML3SXyuDsqLeYasaS3QFylKDIvbtp0xtnjh7IOYrI="; + dist = "py3"; + python = "py3"; + }; +} diff --git a/home/prog/default.nix b/home/prog/default.nix index 37932ede..31abaf34 100644 --- a/home/prog/default.nix +++ b/home/prog/default.nix @@ -12,10 +12,17 @@ stylua # Python - python3 - python3Packages.python-lsp-server + (python3.withPackages + (ps: + with ps; [ + python-lsp-server + isort + mypy + jupyterlab + jupyterlab-git + (callPackage ./catppuccin_jupyterlab/default.nix {}) + ])) ruff - mypy # Fortran gfortran