anchor.diff: -{ stdenv
  -, lib
  +{ lib
  +, stdenv
   , buildPythonPackage
   , fetchPypi
   , pythonOlder
  
positive.code: buildPythonPackage rec {
    pname = "sunpy";
    version = "3.1.3";
    disabled = pythonOlder "3.6";
  
    src = fetchPypi {
  
negative.code:     "sunpy/visualization/colormaps/tests/test_cm.py"
      # requires cdflib package
      "sunpy/timeseries/tests/test_timeseries_factory.py"
      # distutils is deprecated
      "sunpy/io/setup_package.py"
    ];
  
    pytestFlagsArray = [
      "-W"
      "ignore::DeprecationWarning"
    ];
  
    # Wants a configuration file
    # pythonImportsCheck = [
    #   "sunpy"
    # ];
  
    meta = with lib; {
      description = "Python for Solar Physics";
      homepage = "https://sunpy.org";
      license = licenses.bsd2;
      maintainers = with maintainers; [ costrouc ];
    };
  }
  