Open techaddicted opened 2 years ago
Can that be built from https://github.com/tweag/jupyterWith?
Tried and failed...
with import <nixpkgs> {};
stdenv.mkDerivation rec {
pname = "jupyterlab-electron";
version = "4.2.1";
src = fetchurl {
url = "https://github.com/jupyterlab/jupyterlab-desktop/releases/download/v4.2.1-1/JupyterLab-Setup-Debian-x64.deb";
sha256 = "1jc8a0ga620zp7njsd4v59yvgw9nm2bb2cyyibfsph75lzw9lz8d"; # Replace with actual SHA256 hash
};
nativeBuildInputs = [ dpkg ];
unpackPhase = ''
dpkg-deb -x $src $out
'';
installPhase = ''
mkdir -p $out/bin
ln -s $out/usr/share/jupyterlab-desktop/JupyterLab $out/bin/jupyterlab
'';
meta = with import <nixpkgs/lib>; {
description = "JupyterLab Desktop (Electron)";
homepage = "https://github.com/jupyterlab/jupyterlab-desktop";
license = licenses.bsd3;
maintainers = [ maintainers.yourself ];
};
}
Project description JupyterLab Desktop is the cross-platform standalone application distribution of JupyterLab. It is a self-contained desktop application which bundles a Python environment with several popular Python libraries ready to use in scientific computing and data science workflows.
Metadata