anchor.diff:    pname = "atomman";
     format = "setuptools";
   
  -  disabled = pythonOlder "3.6";
  +  disabled = pythonOlder "3.6" || pythonAtLeast "3.10";
   
     src = fetchFromGitHub {
       owner = "usnistgov";
  
positive.code:   checkPhase = ''
      # pytestCheckHook doesn't work
      pytest tests -k "not test_rootdir and not test_version \
        and not test_atomic_mass and not imageflags" \
        --ignore tests/plot/test_interpolate.py
    '';
  
    pythonImportsCheck = [
  
negative.code: , pymatgen
  , pytest
  , pythonOlder
  , pythonAtLeast
  , requests
  , scipy
  , toolz
  