Merge branch 'master' into staging-next

+437 -210
+6
maintainers/maintainer-list.nix
··· 13482 13482 githubId = 38314551; 13483 13483 name = "Peter Okelmann"; 13484 13484 }; 13485 + pokon548 = { 13486 + email = "nix@bukn.uk"; 13487 + github = "pokon548"; 13488 + githubId = 65808665; 13489 + name = "Bu Kun"; 13490 + }; 13485 13491 polarmutex = { 13486 13492 email = "brian@brianryall.xyz"; 13487 13493 github = "polarmutex";
+1
nixos/modules/module-list.nix
··· 864 864 ./services/networking/coturn.nix 865 865 ./services/networking/create_ap.nix 866 866 ./services/networking/croc.nix 867 + ./services/networking/dae.nix 867 868 ./services/networking/dante.nix 868 869 ./services/networking/dhcpcd.nix 869 870 ./services/networking/dnscache.nix
+41
nixos/modules/services/networking/dae.nix
··· 1 + { config, pkgs, lib, ... }: 2 + let 3 + cfg = config.services.dae; 4 + in 5 + { 6 + meta.maintainers = with lib.maintainers; [ pokon548 ]; 7 + 8 + options = { 9 + services.dae = { 10 + enable = lib.options.mkEnableOption (lib.mdDoc "the dae service"); 11 + package = lib.mkPackageOptionMD pkgs "dae" { }; 12 + }; 13 + }; 14 + 15 + config = lib.mkIf config.services.dae.enable { 16 + networking.firewall.allowedTCPPorts = [ 12345 ]; 17 + networking.firewall.allowedUDPPorts = [ 12345 ]; 18 + 19 + systemd.services.dae = { 20 + unitConfig = { 21 + Description = "dae Service"; 22 + Documentation = "https://github.com/daeuniverse/dae"; 23 + After = [ "network.target" "systemd-sysctl.service" ]; 24 + Wants = [ "network.target" ]; 25 + }; 26 + 27 + serviceConfig = { 28 + User = "root"; 29 + ExecStartPre = "${lib.getExe cfg.package} validate -c /etc/dae/config.dae"; 30 + ExecStart = "${lib.getExe cfg.package} run --disable-timestamp -c /etc/dae/config.dae"; 31 + ExecReload = "${lib.getExe cfg.package} reload $MAINPID"; 32 + LimitNPROC = 512; 33 + LimitNOFILE = 1048576; 34 + Restart = "on-abnormal"; 35 + Type = "notify"; 36 + }; 37 + 38 + wantedBy = [ "multi-user.target" ]; 39 + }; 40 + }; 41 + }
+14 -5
pkgs/applications/misc/merkaartor/default.nix
··· 1 - { mkDerivation 2 - , lib 1 + { lib 3 2 , stdenv 4 3 , fetchFromGitHub 4 + , fetchpatch 5 5 , qmake 6 6 , qttools 7 + , wrapQtAppsHook 7 8 , qttranslations 8 9 , gdal 9 10 , proj ··· 15 16 , withZbar ? false, zbar 16 17 }: 17 18 18 - mkDerivation rec { 19 + stdenv.mkDerivation rec { 19 20 pname = "merkaartor"; 20 21 version = "0.19.0"; 21 22 ··· 23 24 owner = "openstreetmap"; 24 25 repo = "merkaartor"; 25 26 rev = version; 26 - sha256 = "sha256-I3QNCXzwhEFa8aOdwl3UJV8MLZ9caN9wuaaVrGFRvbQ="; 27 + hash = "sha256-I3QNCXzwhEFa8aOdwl3UJV8MLZ9caN9wuaaVrGFRvbQ="; 27 28 }; 28 29 29 - nativeBuildInputs = [ qmake qttools ]; 30 + patches = [ 31 + (fetchpatch { 32 + name = "exiv2-0.28.patch"; 33 + url = "https://github.com/openstreetmap/merkaartor/commit/1e20d2ccd743ea5f8c2358e4ae36fead8b9390fd.patch"; 34 + hash = "sha256-aHjJLKYvqz7V0QwUIg0SbentBe+DaCJusVqy4xRBVWo="; 35 + }) 36 + ]; 37 + 38 + nativeBuildInputs = [ qmake qttools wrapQtAppsHook ]; 30 39 31 40 buildInputs = [ gdal proj qtsvg qtwebengine ] 32 41 ++ lib.optional withGeoimage exiv2
+2 -2
pkgs/applications/terminal-emulators/gnome-console/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "gnome-console"; 21 - version = "44.0"; 21 + version = "44.4"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz"; 25 - sha256 = "0cGv1eyNK9+Eo9sCmwSiQy7Me80kLCp0X+mYakKJiEQ="; 25 + sha256 = "uR9E6abAQz6W2ZfzlVhSBtq6xiRzmTo8B1Uv5YiOWo0="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/core/gnome-terminal/default.nix
··· 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "gnome-terminal"; 32 - version = "3.48.1"; 32 + version = "3.48.2"; 33 33 34 34 src = fetchFromGitLab { 35 35 domain = "gitlab.gnome.org"; 36 36 owner = "GNOME"; 37 37 repo = "gnome-terminal"; 38 38 rev = version; 39 - sha256 = "sha256-1t48JRESjAQubOmyK+QOhlp57iE5Ml0cqgy/2wjrLjE="; 39 + sha256 = "sha256-WvFKFh5BK6AS+Lqyh27xIfH1rxs1+YTkywX4w9UashQ="; 40 40 }; 41 41 42 42 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/gvfs/default.nix
··· 45 45 46 46 stdenv.mkDerivation rec { 47 47 pname = "gvfs"; 48 - version = "1.50.5"; 48 + version = "1.50.6"; 49 49 50 50 src = fetchurl { 51 51 url = "mirror://gnome/sources/gvfs/${lib.versions.majorMinor version}/gvfs-${version}.tar.xz"; 52 - hash = "sha256-uG8JtzMchkLs6/RqPNoGkvXrJghvEyMmpUg8Lr+GpMs="; 52 + hash = "sha256-xPbhH8TqqZM/TbjHo0R14GaM6tK//tloZ9Bhvj053aU="; 53 53 }; 54 54 55 55 patches = [
+8 -9
pkgs/development/python-modules/captcha/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , pythonOlder 3 4 , buildPythonPackage 4 - , nose 5 5 , pillow 6 - , wheezy-captcha 6 + , pytestCheckHook 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "captcha"; 11 - version = "0.4"; 11 + version = "0.5.0"; 12 + 13 + disabled = pythonOlder "3.8"; 14 + 12 15 format = "setuptools"; 13 16 14 17 src = fetchFromGitHub { 15 18 owner = "lepture"; 16 19 repo = pname; 17 20 rev = "v${version}"; 18 - hash = "sha256-uxUjoACN65Cx5LMKpT+bZhKpf2JRSaEyysnYUgZntp8="; 21 + hash = "sha256-TPPuf0BRZPSHPSF0HuGxhjhoSyZQ7r86kSjkrztgZ5w="; 19 22 }; 20 23 21 24 propagatedBuildInputs = [ pillow ]; 22 25 23 26 pythonImportsCheck = [ "captcha" ]; 24 27 25 - nativeCheckInputs = [ nose wheezy-captcha ]; 26 - 27 - checkPhase = '' 28 - nosetests -s 29 - ''; 28 + nativeCheckInputs = [ pytestCheckHook ]; 30 29 31 30 meta = with lib; { 32 31 description = "A captcha library that generates audio and image CAPTCHAs";
+8 -5
pkgs/development/python-modules/cocotb/default.nix
··· 9 9 , pytestCheckHook 10 10 , swig 11 11 , verilog 12 + , ghdl 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "cocotb"; 16 - version = "1.7.2"; 17 + version = "1.8.0"; 17 18 18 19 # pypi source doesn't include tests 19 20 src = fetchFromGitHub { 20 21 owner = "cocotb"; 21 22 repo = "cocotb"; 22 23 rev = "refs/tags/v${version}"; 23 - hash = "sha256-gLOYwljqnYkGsdbny7+f93QgroLBaLLnDBRpoCe8uEg="; 24 + hash = "sha256-k3VizQ9iyDawfDCeE3Zup/KkyD54tFBLdQvRKsbKDLY="; 24 25 }; 25 26 26 27 nativeBuildInputs = [ setuptools-scm ]; 27 28 28 - buildInputs = [ setuptools find-libpython ]; 29 + buildInputs = [ setuptools ]; 30 + propagatedBuildInputs = [ find-libpython ]; 29 31 30 32 postPatch = '' 31 33 patchShebangs bin/*.py ··· 51 53 ./0001-Patch-LDCXXSHARED-for-macOS-along-with-LDSHARED.patch 52 54 ]; 53 55 54 - nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ]; 56 + nativeCheckInputs = [ cocotb-bus pytestCheckHook swig verilog ghdl ]; 55 57 preCheck = '' 56 58 export PATH=$out/bin:$PATH 57 59 mv cocotb cocotb.hidden ··· 60 62 pythonImportsCheck = [ "cocotb" ]; 61 63 62 64 meta = with lib; { 65 + changelog = "https://github.com/cocotb/cocotb/releases/tag/v${version}"; 63 66 description = "Coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python"; 64 67 homepage = "https://github.com/cocotb/cocotb"; 65 68 license = licenses.bsd3; 66 - maintainers = with maintainers; [ matthuszagh ]; 69 + maintainers = with maintainers; [ matthuszagh jleightcap ]; 67 70 }; 68 71 }
+6
pkgs/development/python-modules/experiment-utilities/default.nix
··· 5 5 , fasteners 6 6 , fetchFromGitLab 7 7 , qgrid 8 + , ipynbname 8 9 , ipywidgets 9 10 , odfpy 10 11 , scipy ··· 28 29 hash = "sha256-zjmmLUpGjUhpw2+stLJE6cImesnBSvrcid5bHMftX/Q="; 29 30 }; 30 31 32 + patches = [ 33 + ./unvendor-ipynbname.patch 34 + ]; 35 + 31 36 # This dependency constraint (<=7.6.5) was due to a bug in qgrid that has been patched in its 32 37 # owned derivation 33 38 postPatch = '' ··· 39 44 cloudpickle 40 45 dill 41 46 fasteners 47 + ipynbname 42 48 ipywidgets 43 49 odfpy 44 50 plotly
+117
pkgs/development/python-modules/experiment-utilities/unvendor-ipynbname.patch
··· 1 + diff --git a/exputils/gui/jupyter/__init__.py b/exputils/gui/jupyter/__init__.py 2 + index 6e9aefb..fdfdd28 100644 3 + --- a/exputils/gui/jupyter/__init__.py 4 + +++ b/exputils/gui/jupyter/__init__.py 5 + @@ -30,8 +30,8 @@ from exputils.gui.jupyter.misc import remove_children_from_widget 6 + from exputils.gui.jupyter.misc import set_children_of_widget 7 + from exputils.gui.jupyter.misc import generate_random_state_backup_name 8 + 9 + -from exputils.gui.jupyter.ipynbname import get_notebook_name 10 + -from exputils.gui.jupyter.ipynbname import get_notebook_path 11 + +from ipynbname import name as get_notebook_name 12 + +from ipynbname import path as get_notebook_path 13 + 14 + DEFAULT_CONFIG_DIRECTORY = '.ipython_config' 15 + 16 + diff --git a/exputils/gui/jupyter/ipynbname.py b/exputils/gui/jupyter/ipynbname.py 17 + deleted file mode 100644 18 + index 51e21b7..0000000 19 + --- a/exputils/gui/jupyter/ipynbname.py 20 + +++ /dev/null 21 + @@ -1,86 +0,0 @@ 22 + -## 23 + -## This file is part of the exputils package. 24 + -## 25 + -## Copyright: INRIA 26 + -## Year: 2022, 2023 27 + -## Contact: chris.reinke@inria.fr 28 + -## 29 + -## exputils is provided under GPL-3.0-or-later 30 + -## 31 + -# Taken from https://pypi.org/project/ipynbname/ 32 + -# TODO: add them to licence 33 + - 34 + -from notebook import notebookapp 35 + -import urllib, json, os, ipykernel, ntpath 36 + - 37 + -FILE_ERROR = "Can't identify the notebook {}." 38 + -CONN_ERROR = "Unable to access server;\n \ 39 + - + ipynbname requires either no security or token based security." 40 + - 41 + -def _get_kernel_id(): 42 + - """ Returns the kernel ID of the ipykernel. 43 + - """ 44 + - connection_file = os.path.basename(ipykernel.get_connection_file()) 45 + - kernel_id = connection_file.split('-', 1)[1].split('.')[0] 46 + - return kernel_id 47 + - 48 + - 49 + -def _get_sessions(srv): 50 + - """ Given a server, returns sessions, or HTTPError if access is denied. 51 + - NOTE: Works only when either there is no security or there is token 52 + - based security. An HTTPError is raised if unable to connect to a 53 + - server. 54 + - """ 55 + - try: 56 + - qry_str = "" 57 + - token = srv['token'] 58 + - if token: 59 + - qry_str = f"?token={token}" 60 + - url = f"{srv['url']}api/sessions{qry_str}" 61 + - req = urllib.request.urlopen(url) 62 + - return json.load(req) 63 + - except: 64 + - raise urllib.error.HTTPError(CONN_ERROR) 65 + - 66 + - 67 + -def _get_nb_path(sess, kernel_id): 68 + - """ Given a session and kernel ID, returns the notebook path for the 69 + - session, or None if there is no notebook for the session. 70 + - """ 71 + - if sess['kernel']['id'] == kernel_id: 72 + - return sess['notebook']['path'] 73 + - return None 74 + - 75 + - 76 + -def get_notebook_name(): 77 + - """ Returns the short name of the notebook w/o the .ipynb extension, 78 + - or raises a FileNotFoundError exception if it cannot be determined. 79 + - """ 80 + - kernel_id = _get_kernel_id() 81 + - for srv in notebookapp.list_running_servers(): 82 + - try: 83 + - sessions = _get_sessions(srv) 84 + - for sess in sessions: 85 + - nb_path = _get_nb_path(sess, kernel_id) 86 + - if nb_path: 87 + - return ntpath.basename(nb_path).replace('.ipynb', '') 88 + - except: 89 + - pass # There may be stale entries in the runtime directory 90 + - raise FileNotFoundError(FILE_ERROR.format('name')) 91 + - 92 + - 93 + -def get_notebook_path(): 94 + - """ Returns the absolute path of the notebook, 95 + - or raises a FileNotFoundError exception if it cannot be determined. 96 + - """ 97 + - kernel_id = _get_kernel_id() 98 + - for srv in notebookapp.list_running_servers(): 99 + - try: 100 + - sessions = _get_sessions(srv) 101 + - for sess in sessions: 102 + - nb_path = _get_nb_path(sess, kernel_id) 103 + - if nb_path: 104 + - return os.path.join(srv['notebook_dir'], nb_path) 105 + - except: 106 + - pass # There may be stale entries in the runtime directory 107 + - raise FileNotFoundError(FILE_ERROR.format('path')) 108 + \ No newline at end of file 109 + diff --git a/setup.cfg b/setup.cfg 110 + index 9d9cbb0..6080ed6 100644 111 + --- a/setup.cfg 112 + +++ b/setup.cfg 113 + @@ -25,3 +25,4 @@ install_requires = 114 + tensorboard >= 1.15.0 115 + fasteners >= 0.18 116 + pyyaml >= 6.0 117 + + ipynbname
+2 -2
pkgs/development/python-modules/greeneye-monitor/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "greeneye-monitor"; 12 - version = "4.0"; 12 + version = "4.0.1"; 13 13 14 14 disabled = pythonOlder "3.10"; 15 15 ··· 19 19 owner = "jkeljo"; 20 20 repo = "greeneye-monitor"; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-kMyFerb6T5316cr4T5hSo4HcpO5Hl5l+bMor5jon9yY="; 22 + hash = "sha256-S/1MT9ZQ9G0F1WXqzNKhVo8vtfPLzr8WRlfYc7TU9iQ="; 23 23 }; 24 24 25 25 postPatch = ''
+6 -1
pkgs/development/python-modules/icoextract/default.nix
··· 22 22 "icoextract" 23 23 ]; 24 24 25 + postInstall = '' 26 + mkdir -p $out/share/thumbnailers 27 + substituteAll ${./exe-thumbnailer.thumbnailer} $out/share/thumbnailers/exe-thumbnailer.thumbnailer 28 + ''; 29 + 25 30 meta = with lib; { 26 31 description = "Extract icons from Windows PE files"; 27 32 homepage = "https://github.com/jlu5/icoextract"; 28 33 license = licenses.mit; 29 - maintainers = with maintainers; [ bryanasdev000 ]; 34 + maintainers = with maintainers; [ bryanasdev000 donovanglover ]; 30 35 }; 31 36 }
+3
pkgs/development/python-modules/icoextract/exe-thumbnailer.thumbnailer
··· 1 + [Thumbnailer Entry] 2 + Exec=@out@/bin/exe-thumbnailer -v -s %s %i %o 3 + MimeType=application/x-ms-dos-executable;application/x-dosexec;application/x-msdownload
+32
pkgs/development/python-modules/ipynbname/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , ipykernel 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "ipynbname"; 9 + version = "2023.2.0.0"; 10 + format = "setuptools"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + hash = "sha256-Riu915VmJIdtxOqB+nkoRas4cOREyh9res2uo32Mnr8="; 15 + }; 16 + 17 + propagatedBuildInputs = [ 18 + ipykernel 19 + ]; 20 + 21 + pythonImportsCheck = [ "ipynbname" ]; 22 + 23 + # upstream has no tests 24 + doCheck = false; 25 + 26 + meta = { 27 + description = "Simply returns either notebook filename or the full path to the notebook"; 28 + homepage = "https://github.com/msm1089/ipynbname"; 29 + license = lib.licenses.mit; 30 + maintainers = with lib.maintainers; [ dotlambda ]; 31 + }; 32 + }
+75
pkgs/development/python-modules/jupyter-collaboration/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchPypi 5 + , hatch-jupyter-builder 6 + , hatch-nodejs-version 7 + , hatchling 8 + , pythonRelaxDepsHook 9 + , jupyter-events 10 + , jupyter-server 11 + , jupyter-server-fileid 12 + , jupyter-ydoc 13 + , ypy-websocket 14 + , pytest-asyncio 15 + , pytest-jupyter 16 + , pytestCheckHook 17 + }: 18 + 19 + buildPythonPackage rec { 20 + pname = "jupyter-collaboration"; 21 + version = "1.0.1"; 22 + 23 + disabled = pythonOlder "3.8"; 24 + 25 + format = "pyproject"; 26 + 27 + src = fetchPypi { 28 + pname = "jupyter_collaboration"; 29 + inherit version; 30 + hash = "sha256-cf7BpF6WSoHQJQW0IXdpCAGTdkX9RNWZ4JovTHvcPho="; 31 + }; 32 + 33 + postPatch = '' 34 + sed -i "/^timeout/d" pyproject.toml 35 + ''; 36 + 37 + nativeBuildInputs = [ 38 + hatch-jupyter-builder 39 + hatch-nodejs-version 40 + hatchling 41 + pythonRelaxDepsHook 42 + ]; 43 + 44 + pythonRelaxDeps = [ 45 + "ypy-websocket" 46 + ]; 47 + 48 + propagatedBuildInputs = [ 49 + jupyter-events 50 + jupyter-server 51 + jupyter-server-fileid 52 + jupyter-ydoc 53 + ypy-websocket 54 + ]; 55 + 56 + pythonImportsCheck = [ "jupyter_collaboration" ]; 57 + 58 + nativeCheckInputs = [ 59 + pytest-asyncio 60 + pytest-jupyter 61 + pytestCheckHook 62 + ]; 63 + 64 + preCheck = '' 65 + export HOME=$TEMP 66 + ''; 67 + 68 + meta = { 69 + changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/v${version}/CHANGELOG.md"; 70 + description = "JupyterLab Extension enabling Real-Time Collaboration"; 71 + homepage = "https://github.com/jupyterlab/jupyter_collaboration"; 72 + license = lib.licenses.bsd3; 73 + maintainers = lib.teams.jupyter.members; 74 + }; 75 + }
+23 -1
pkgs/development/python-modules/jupyter-nbextensions-configurator/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , jupyter-contrib-core 6 + , jupyter-core 7 + , jupyter-server 8 + , notebook 9 + , pyyaml 10 + , tornado 5 11 }: 6 12 7 13 buildPythonPackage rec { ··· 15 21 hash = "sha256-ovKYHATRAC5a5qTMv32ohU2gJd15/fRKXa5HI0zGp/0="; 16 22 }; 17 23 18 - propagatedBuildInputs = [ jupyter-contrib-core ]; 24 + patches = [ 25 + # https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/pull/166 26 + (fetchpatch { 27 + name = "notebook-v7-compat.patch"; 28 + url = "https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator/commit/a600cef9222ca0c61a6912eb29d8fa0323409705.patch"; 29 + hash = "sha256-Rt9r5ZOgnhBcs18+ET5+k0/t980I2DiVN8oHkGLp0iw="; 30 + }) 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + jupyter-contrib-core 35 + jupyter-core 36 + jupyter-server 37 + notebook 38 + pyyaml 39 + tornado 40 + ]; 19 41 20 42 pythonImportsCheck = [ "jupyter_nbextensions_configurator" ]; 21 43
-66
pkgs/development/python-modules/jupyter-server-ydoc/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , pythonOlder 4 - , fetchFromGitHub 5 - , hatchling 6 - , pythonRelaxDepsHook 7 - , jupyter-server-fileid 8 - , jupyter-ydoc 9 - , ypy-websocket 10 - , pytest-jupyter 11 - , pytestCheckHook 12 - }: 13 - 14 - buildPythonPackage rec { 15 - pname = "jupyter-server-ydoc"; 16 - version = "0.8.0"; 17 - 18 - disabled = pythonOlder "3.7"; 19 - 20 - format = "pyproject"; 21 - 22 - src = fetchFromGitHub { 23 - owner = "jupyterlab"; 24 - repo = "jupyter_collaboration"; 25 - rev = "refs/tags/v${version}"; 26 - hash = "sha256-KLb7kU5jsj6ihGO6HU3Y7uF+0PcwKoQlqQAhtO0oaJw="; 27 - }; 28 - 29 - postPatch = '' 30 - sed -i "/^timeout/d" pyproject.toml 31 - ''; 32 - 33 - nativeBuildInputs = [ 34 - hatchling 35 - pythonRelaxDepsHook 36 - ]; 37 - 38 - pythonRelaxDeps = [ 39 - "ypy-websocket" 40 - ]; 41 - 42 - propagatedBuildInputs = [ 43 - jupyter-server-fileid 44 - jupyter-ydoc 45 - ypy-websocket 46 - ]; 47 - 48 - pythonImportsCheck = [ "jupyter_server_ydoc" ]; 49 - 50 - nativeCheckInputs = [ 51 - pytest-jupyter 52 - pytestCheckHook 53 - ]; 54 - 55 - preCheck = '' 56 - export HOME=$TEMP 57 - ''; 58 - 59 - meta = { 60 - changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/${src.rev}/CHANGELOG.md"; 61 - description = "A Jupyter Server Extension Providing Y Documents"; 62 - homepage = "https://github.com/jupyterlab/jupyter_collaboration"; 63 - license = lib.licenses.bsd3; 64 - maintainers = with lib.maintainers; [ dotlambda ]; 65 - }; 66 - }
+15 -10
pkgs/development/python-modules/jupyter-server/default.nix
··· 15 15 , jinja2 16 16 , tornado 17 17 , pyzmq 18 - , flaky 19 18 , ipykernel 20 19 , traitlets 21 20 , jupyter-core ··· 24 23 , jupyter-server-terminals 25 24 , nbformat 26 25 , nbconvert 27 - , overrides 26 + , packaging 28 27 , send2trash 29 28 , terminado 30 29 , prometheus-client 31 30 , anyio 32 31 , websocket-client 32 + , overrides 33 33 , requests 34 + , flaky 34 35 }: 35 36 36 37 buildPythonPackage rec { 37 38 pname = "jupyter-server"; 38 39 version = "2.7.0"; 39 40 format = "pyproject"; 40 - disabled = pythonOlder "3.7"; 41 + disabled = pythonOlder "3.8"; 41 42 42 43 src = fetchPypi { 43 44 pname = "jupyter_server"; 44 45 inherit version; 45 - hash= "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38="; 46 + hash = "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38="; 46 47 }; 47 48 48 49 nativeBuildInputs = [ ··· 62 63 jupyter-server-terminals 63 64 nbformat 64 65 nbconvert 65 - overrides 66 + packaging 66 67 send2trash 67 68 terminado 68 69 prometheus-client 69 70 anyio 70 71 websocket-client 72 + overrides 71 73 ]; 72 74 73 75 nativeCheckInputs = [ 74 - flaky 75 76 ipykernel 76 - pandoc 77 77 pytestCheckHook 78 78 pytest-console-scripts 79 79 pytest-jupyter 80 80 pytest-timeout 81 - pytest-tornasync 82 81 requests 82 + flaky 83 83 ]; 84 84 85 85 pytestFlagsArray = [ ··· 94 94 disabledTests = [ 95 95 "test_server_extension_list" 96 96 "test_cull_idle" 97 + "test_server_extension_list" 97 98 ] ++ lib.optionals stdenv.isDarwin [ 98 99 # attempts to use trashcan, build env doesn't allow this 99 100 "test_delete" 100 101 # test is presumable broken in sandbox 101 102 "test_authorized_requests" 103 + # Insufficient access privileges for operation 104 + "test_regression_is_hidden" 105 + ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ 106 + "test_copy_big_dir" 102 107 ]; 103 108 104 109 disabledTestPaths = [ ··· 112 117 __darwinAllowLocalNetworking = true; 113 118 114 119 meta = with lib; { 115 - changelog = "https://github.com/jupyter-server/jupyter_server/releases/tag/v${version}"; 120 + changelog = "https://github.com/jupyter-server/jupyter_server/blob/v${version}/CHANGELOG.md"; 116 121 description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications"; 117 122 homepage = "https://github.com/jupyter-server/jupyter_server"; 118 123 license = licenses.bsdOriginal; 119 - maintainers = [ maintainers.elohmeier ]; 124 + maintainers = lib.teams.jupyter.members; 120 125 }; 121 126 }
+3 -3
pkgs/development/python-modules/jupyter-ydoc/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "jupyter-ydoc"; 14 - version = "0.3.4"; 14 + version = "1.0.2"; 15 15 16 16 format = "pyproject"; 17 17 18 18 src = fetchPypi { 19 19 pname = "jupyter_ydoc"; 20 20 inherit version; 21 - hash = "sha256-WiJi5wvwBLgsxs5xZ16TMKoFj+MNsuh82BJa1N0a5OE="; 21 + hash = "sha256-D5W+3j8eCB4H1cV8A8ZY46Ukfg7xiIkHT776IN0+ylM="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ ··· 46 46 description = "Document structures for collaborative editing using Ypy"; 47 47 homepage = "https://github.com/jupyter-server/jupyter_ydoc"; 48 48 license = lib.licenses.bsd3; 49 - maintainers = with lib.maintainers; [ dotlambda ]; 49 + maintainers = lib.teams.jupyter.members; 50 50 }; 51 51 }
+19 -23
pkgs/development/python-modules/jupyterlab/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , ipython 4 + , hatch-jupyter-builder 5 + , hatchling 6 + , async-lru 5 7 , packaging 6 8 , tornado 9 + , ipykernel 7 10 , jupyter-core 11 + , jupyter-lsp 8 12 , jupyterlab_server 9 13 , jupyter-server 10 - , jupyter-server-ydoc 11 - , notebook 14 + , notebook-shim 12 15 , jinja2 13 16 , tomli 14 17 , pythonOlder 15 18 , jupyter-packaging 16 - , pythonRelaxDepsHook 17 - , nbclassic 18 19 }: 19 20 20 21 buildPythonPackage rec { 21 22 pname = "jupyterlab"; 22 - version = "3.6.3"; 23 - format = "setuptools"; 23 + version = "4.0.3"; 24 + format = "pyproject"; 24 25 25 - disabled = pythonOlder "3.7"; 26 + disabled = pythonOlder "3.8"; 26 27 27 28 src = fetchPypi { 28 29 inherit pname version; 29 - hash = "sha256-Nz6c+4py7dKUvhTxZmJWOiIM7PD7Jt56qxr5optom4I="; 30 + hash = "sha256-4U0c5GphMCgRHQ1Hah19awlAA7dGK6xmn1tHgxeryzk="; 30 31 }; 31 32 32 33 nativeBuildInputs = [ 33 - jupyter-packaging 34 - pythonRelaxDepsHook 35 - ]; 36 - 37 - pythonRelaxDeps = [ 38 - "jupyter-ydoc" 39 - "jupyter-server-ydoc" 34 + hatch-jupyter-builder 35 + hatchling 40 36 ]; 41 37 42 38 propagatedBuildInputs = [ 43 - ipython 39 + async-lru 44 40 packaging 45 41 tornado 42 + ipykernel 46 43 jupyter-core 44 + jupyter-lsp 47 45 jupyterlab_server 48 46 jupyter-server 49 - jupyter-server-ydoc 50 - nbclassic 51 - notebook 47 + notebook-shim 52 48 jinja2 53 49 ] ++ lib.optionals (pythonOlder "3.11") [ 54 50 tomli ··· 68 64 ]; 69 65 70 66 meta = with lib; { 71 - changelog = "https://github.com/jupyterlab/jupyterlab/releases/tag/v${version}"; 67 + changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md"; 72 68 description = "Jupyter lab environment notebook server extension"; 73 - license = with licenses; [ bsd3 ]; 69 + license = licenses.bsd3; 74 70 homepage = "https://jupyter.org/"; 75 - maintainers = with maintainers; [ zimbatm ]; 71 + maintainers = lib.teams.jupyter.members; 76 72 }; 77 73 }
+3 -3
pkgs/development/python-modules/jupyterlab_server/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "jupyterlab_server"; 22 - version = "2.19.0"; 22 + version = "2.24.0"; 23 23 format = "pyproject"; 24 24 25 25 disabled = pythonOlder "3.7"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - hash = "sha256-muwhohg7vt2fkahmKDVUSVdfGGLYiyitX5BQGdMebCE="; 29 + hash = "sha256-Tm+Z4KVXm7vDLkScTbsDlWHU8aeCfVczJz7VZzjyHwc="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ ··· 77 77 homepage = "https://jupyterlab-server.readthedocs.io/"; 78 78 changelog = "https://github.com/jupyterlab/jupyterlab_server/blob/v${version}/CHANGELOG.md"; 79 79 license = licenses.bsdOriginal; 80 - maintainers = with maintainers; [ ]; 80 + maintainers = lib.teams.jupyter.members; 81 81 }; 82 82 }
+34 -65
pkgs/development/python-modules/notebook/default.nix
··· 3 3 , buildPythonPackage 4 4 , pythonOlder 5 5 , fetchPypi 6 - , argon2-cffi 7 - , glibcLocales 8 - , mock 9 - , jinja2 6 + , hatch-jupyter-builder 7 + , hatchling 8 + , jupyter-server 9 + , jupyterlab 10 + , jupyterlab_server 11 + , notebook-shim 10 12 , tornado 11 - , ipython_genutils 12 - , traitlets 13 - , jupyter-core 14 - , jupyter-client 15 - , nbformat 16 - , nbclassic 17 - , nbconvert 18 - , ipykernel 19 - , terminado 20 - , requests 21 - , send2trash 22 - , pexpect 23 - , prometheus-client 13 + , pytest-jupyter 24 14 , pytestCheckHook 25 15 }: 26 16 27 17 buildPythonPackage rec { 28 18 pname = "notebook"; 29 - version = "6.5.2"; 30 - disabled = pythonOlder "3.7"; 19 + version = "7.0.1"; 20 + disabled = pythonOlder "3.8"; 21 + 22 + format = "pyproject"; 31 23 32 24 src = fetchPypi { 33 25 inherit pname version; 34 - hash = "sha256-wYl+UxfiJfx4tFVJpqtLZo5MmW/QOgTpOP5eevK//9A="; 26 + hash = "sha256-LhatTmPqiffvviEu58FpP8+lq1X/73UEdTD3SvS9kmw="; 35 27 }; 36 28 37 - LC_ALL = "en_US.utf8"; 29 + postPatch = '' 30 + substituteInPlace pyproject.toml \ 31 + --replace "timeout = 300" "" 32 + ''; 38 33 39 - nativeCheckInputs = [ pytestCheckHook glibcLocales ]; 34 + nativeBuildInputs = [ 35 + hatch-jupyter-builder 36 + hatchling 37 + jupyterlab 38 + ]; 40 39 41 40 propagatedBuildInputs = [ 42 - jinja2 41 + jupyter-server 42 + jupyterlab 43 + jupyterlab_server 44 + notebook-shim 43 45 tornado 44 - ipython_genutils 45 - traitlets 46 - jupyter-core 47 - send2trash 48 - jupyter-client 49 - nbformat 50 - nbclassic 51 - nbconvert 52 - ipykernel 53 - terminado 54 - requests 55 - pexpect 56 - prometheus-client 57 - argon2-cffi 58 46 ]; 59 47 60 - postPatch = '' 61 - # Remove selenium tests 62 - rm -rf notebook/tests/selenium 63 - export HOME=$TMPDIR 64 - ''; 65 - 66 - disabledTests = [ 67 - # a "system_config" is generated, and fails many tests 68 - "config" 69 - "load_ordered" 70 - # requires jupyter, but will cause circular imports 71 - "test_run" 72 - "TestInstallServerExtension" 73 - "launch_socket" 74 - "sock_server" 75 - "test_list_formats" # tries to find python MIME type 76 - "KernelCullingTest" # has a race condition failing on slower hardware 77 - "test_connections" # tornado.simple_httpclient.HTTPTimeoutError: Timeout during request" 78 - ] ++ lib.optionals stdenv.isDarwin [ 79 - "test_delete" 80 - "test_checkpoints_follow_file" 48 + nativeCheckInputs = [ 49 + pytest-jupyter 50 + pytestCheckHook 81 51 ]; 82 52 83 - disabledTestPaths = lib.optionals stdenv.isDarwin [ 84 - # requires local networking 85 - "notebook/auth/tests/test_login.py" 86 - "notebook/bundler/tests/test_bundler_api.py" 87 - ]; 53 + env = { 54 + JUPYTER_PLATFORM_DIRS = 1; 55 + }; 88 56 89 57 # Some of the tests use localhost networking. 90 58 __darwinAllowLocalNetworking = true; 91 59 92 60 meta = { 93 - description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing"; 61 + changelog = "https://github.com/jupyter/notebook/blob/v${version}/CHANGELOG.md"; 62 + description = "Web-based notebook environment for interactive computing"; 94 63 homepage = "https://github.com/jupyter/notebook"; 95 64 license = lib.licenses.bsd3; 96 - maintainers = with lib.maintainers; [ fridh ]; 65 + maintainers = lib.teams.jupyter.members; 97 66 mainProgram = "jupyter-notebook"; 98 67 }; 99 68 }
+2 -2
pkgs/development/web/ihp-new/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ihp-new"; 5 - version = "1.0.1"; 5 + version = "1.1.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "digitallyinduced"; 9 9 repo = "ihp"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-LUIC7Olu2qTxZwgkgVpmTgCEQYDlwvLQFQt3Ox/Vm48="; 11 + sha256 = "sha256-o0ZSDaDFgwbXqozHfcXKxW4FeF7JqaGprAh6r7NhvhE"; 12 12 }; 13 13 14 14 dontConfigure = true;
+4 -4
pkgs/os-specific/linux/kernel/xanmod-kernels.nix
··· 3 3 let 4 4 # These names are how they are designated in https://xanmod.org. 5 5 ltsVariant = { 6 - version = "6.1.42"; 7 - hash = "sha256-mOydloX5bff9wrFh40wf12GW+sION9SoGK2mAC1yNOw="; 6 + version = "6.1.43"; 7 + hash = "sha256-IdNW0gzYl6L3OjN2meWnGbMZsTcLfSMbKFDx12Z9Ll4="; 8 8 variant = "lts"; 9 9 }; 10 10 11 11 mainVariant = { 12 - version = "6.4.7"; 13 - hash = "sha256-0yOVCMqhoiWz8IlYRR0wXytAzjv81Cf5NoFa9qxGMm4="; 12 + version = "6.4.8"; 13 + hash = "sha256-GkNWXngIx/aoSzu2pfpuv8kGwV9evbHl3hauux0lSwk="; 14 14 variant = "main"; 15 15 }; 16 16
+2 -2
pkgs/servers/home-automation/evcc/default.nix
··· 16 16 17 17 buildGoModule rec { 18 18 pname = "evcc"; 19 - version = "0.118.10"; 19 + version = "0.118.11"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "evcc-io"; 23 23 repo = pname; 24 24 rev = version; 25 - hash = "sha256-A79l8tA73EeRp+BlJnIz/qtiBk33D4KvbJegqrgNvbg="; 25 + hash = "sha256-gwFArZJX3DBUNaSpWD5n76VImWeDImR8b1s2czBrBaA="; 26 26 }; 27 27 28 28 vendorHash = "sha256-0NTOit1nhX/zxQjHwU7ZOY1GsoIu959/KICCEWyfIQ4=";
+2 -1
pkgs/tools/networking/dae/default.nix
··· 58 58 description = "A Linux high-performance transparent proxy solution based on eBPF"; 59 59 homepage = "https://github.com/daeuniverse/dae"; 60 60 license = licenses.agpl3Only; 61 - maintainers = with maintainers; [ oluceps ]; 61 + maintainers = with maintainers; [ oluceps pokon548 ]; 62 62 platforms = platforms.linux; 63 + mainProgram = "dae"; 63 64 }; 64 65 }
+1
pkgs/top-level/python-aliases.nix
··· 183 183 jupyter_client = jupyter-client; # added 2021-10-15 184 184 jupyter_core = jupyter-core; # added 2023-01-05 185 185 jupyter_server = jupyter-server; # added 2023-01-05 186 + jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18 186 187 Kajiki = kajiki; # added 2023-02-19 187 188 Keras = keras; # added 2021-11-25 188 189 ldap = python-ldap; # added 2022-09-16
+4 -2
pkgs/top-level/python-packages.nix
··· 5187 5187 5188 5188 ipydatawidgets = callPackage ../development/python-modules/ipydatawidgets { }; 5189 5189 5190 + ipynbname = callPackage ../development/python-modules/ipynbname { }; 5191 + 5190 5192 ipyniivue = callPackage ../development/python-modules/ipyniivue { }; 5191 5193 5192 5194 ipykernel = callPackage ../development/python-modules/ipykernel { }; ··· 5495 5497 5496 5498 jupyter-client = callPackage ../development/python-modules/jupyter-client { }; 5497 5499 5500 + jupyter-collaboration = callPackage ../development/python-modules/jupyter-collaboration { }; 5501 + 5498 5502 jupyter-contrib-core = callPackage ../development/python-modules/jupyter-contrib-core { }; 5499 5503 5500 5504 jupyter-contrib-nbextensions = callPackage ../development/python-modules/jupyter-contrib-nbextensions { }; ··· 5516 5520 jupyter-server-fileid = callPackage ../development/python-modules/jupyter-server-fileid { }; 5517 5521 5518 5522 jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { }; 5519 - 5520 - jupyter-server-ydoc = callPackage ../development/python-modules/jupyter-server-ydoc { }; 5521 5523 5522 5524 jupyter-ui-poll = callPackage ../development/python-modules/jupyter-ui-poll { }; 5523 5525