anchor.diff: -
   { stdenv
   , fetchurl
   , cpp ? false
  
positive.code:   };
  
    buildInputs = []
      ++ stdenv.lib.optional (gfortran != null) gfortran
      ++ stdenv.lib.optional (zlib != null) zlib
      ++ stdenv.lib.optional (szip != null) szip;
  
    propagatedBuildInputs = []
      ++ stdenv.lib.optional (mpi != null) mpi;
  
    configureFlags = "
      ${if cpp then "--enable-cxx" else ""}
      ${if gfortran != null then "--enable-fortran" else ""}
      ${if szip != null then "--with-szlib=${szip}" else ""}
      ${if mpi != null then "--enable-parallel" else ""}
      ${if enableShared then "--enable-shared" else ""}
    ";
    
    patches = [./bin-mv.patch];
    
    meta = {
      description = "Data model, library, and file format for storing and managing data";
      longDescription = ''
  
negative.code: , mpi ? null
  , enableShared ? true
  }:
  
  with { inherit (stdenv.lib) optional; };
  
  stdenv.mkDerivation rec {
    version = "1.8.15-patch1";
    name = "hdf5-${version}";
  