anchor.diff:  { lib
   , buildPythonPackage
   , fetchFromGitHub
  -, fetchpatch
   , poetry-core
   , pytestCheckHook
   , pythonOlder
  
positive.code:   propagatedBuildInputs = [
      pytz
      requests
      urllib3
    ] ++ lib.optionals (pythonOlder "3.7") [
      typing-extensions
    ];
  
    checkInputs = [
      pytestCheckHook
      requests-mock
    ];
  
    postPatch = ''
      # https://github.com/hacf-fr/meteofrance-api/pull/378
      substituteInPlace pyproject.toml \
        --replace 'pytz = ">=2020.4,<2022.0"' 'pytz = ">=2020.4,<2023.0"'
    '';
  
    pythonImportsCheck = [
      "meteofrance_api"
  
negative.code: 
  buildPythonPackage rec {
    pname = "meteofrance-api";
    version = "1.1.0";
    format = "pyproject";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "hacf-fr";
      repo = pname;
      rev = "v${version}";
      hash = "sha256-1ZN/9ur6uhK7M5TurmmWgUjzkc79MPqKnT637hbAAWA=";
    };
  
    nativeBuildInputs = [
      poetry-core
  