anchor.diff: -{ lib, buildPythonPackage, fetchFromGitHub
  +{ lib
  +, buildPythonPackage
  +, fetchFromGitHub
   , pythonOlder
   , h5py
   , matplotlib
  
positive.code: buildPythonPackage rec {
    pname = "sumo";
    version = "2.2.5";
  
    disabled = pythonOlder "3.6";
  
    # No tests in Pypi tarball
    src = fetchFromGitHub {
      owner = "SMTG-UCL";
      repo = "sumo";
  
negative.code:     castepxbin
    ];
  
    checkInputs = [
      pytestCheckHook
    ];
  
    postPatch = ''
      substituteInPlace setup.py \
        --replace "castepxbin==0.1.0" "castepxbin>=0.1.0"
    '';
  
    pythonImportsCheck = [
      "sumo"
    ];
  
    meta = with lib; {
      description = "Toolkit for plotting and analysis of ab initio solid-state calculation data";
  