anchor.diff:  , stdenv
   , fetchurl
   , autoreconfHook
  -, pkg-config
   , bzip2
   , doxygen
   , gettext
   , imagemagick
   , libgsf
  +, pkg-config
   , xmlto
   }:
   
  -stdenv.mkDerivation rec {
  +stdenv.mkDerivation (finalAttrs: {
     pname = "libpst";
     version = "0.6.76";
   
     src = fetchurl {
  -    url = "http://www.five-ten-sg.com/libpst/packages/${pname}-${version}.tar.gz";
  -    sha256 = "0hhbbb8ddsgjhv9y1xd8s9ixlhdnjmhw12v06jwx4j6vpgp1na9x";
  +    url = "http://www.five-ten-sg.com/libpst/packages/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
  +    hash = "sha256-PSkb7rvbSNK5NGCLwGGVtkHaY9Ko9eDThvLp1tBaC0I=";
     };
   
     nativeBuildInputs = [
       autoreconfHook
  -    pkg-config
       doxygen
       gettext
  +    pkg-config
       xmlto
     ];
   
  
positive.code:     homepage = "https://www.five-ten-sg.com/libpst/";
      description = "A library to read PST (MS Outlook Personal Folders) files";
      license = licenses.gpl2Plus;
      maintainers = [ maintainers.tohl ];
      platforms = platforms.unix;
    };
  }
  
negative.code:   ];
  
    configureFlags = [
      "--disable-static"
      "--enable-libpst-shared"
      "--enable-python=no"
    ];
  
    doCheck = true;
  