anchor.diff:    '';
   
     checkPhase = ''
  +    export OMPI_MCA_plm_rsh_agent=${openssh}/bin/ssh
       export HOME=$TMPDIR
       mv sfepy sfepy.hidden
       mkdir -p $HOME/.matplotlib
  
positive.code: , cython
  , python
  , sympy
  }:
  
  buildPythonPackage rec {
    name = "sfepy_${version}";
    version = "2019.4";
  
    src = fetchurl {
      url="https://github.com/sfepy/sfepy/archive/release_${version}.tar.gz";
      sha256 = "1l9vgcw09l6bwhgfzlbn68fzpvns25r6nkd1pcp7hz5165hs6zzn";
    };
  
    propagatedBuildInputs = [
  
negative.code:     pyparsing
      tables
      sympy
      meshio
      mpi4py
      psutil
      openssh
    ];
  
    postPatch = ''
      # broken tests
      rm tests/test_meshio.py
  
      # slow tests
      rm tests/test_input_*.py
  