anchor.diff: -{ stdenv
  -, lib
  +{ lib
   , buildPythonPackage
   , fetchPypi
   , hatchling
  
positive.code: , pytest-timeout
  , pytest-tornasync
  , ruamel-yaml
  , strict-rfc3339
  }:
  
  buildPythonPackage rec {
  
negative.code:     ruamel-yaml
    ];
  
    postPatch = ''
      # translation tests try to install additional packages into read only paths
      rm -r tests/translations/
    '';
  
    preCheck = ''
      export HOME=$(mktemp -d)
    '';
  
    pytestFlagsArray = [
      # DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12.
      # Use setuptools or check PEP 632 for potential alternatives.
      "-W ignore::DeprecationWarning"
    ];
  
    __darwinAllowLocalNetworking = true;
  
    meta = with lib; {
      description = "A set of server components for JupyterLab and JupyterLab like applications";
      homepage = "https://jupyter.org";
      license = licenses.bsdOriginal;
      maintainers = [ maintainers.costrouc ];
  