anchor.diff:  { fetchurl, stdenv, pkgconfig, nasm, fuse, wxGTK30, devicemapper, makeself,
     wxGUI ? true
   }:
  +
  +with stdenv.lib;
   
   stdenv.mkDerivation rec {
     name = "veracrypt-${version}";
  
positive.code:     sha256 = "111xs1zmic82lpn5spn0ca33q0g4za04a2k4cvjwdb7k3vcicq6v";
    };
  
    # The source archive can't be extracted with "tar xfz"; I don't know why
    # Using "gunzip" before "tar xf" works though
    unpackPhase =
      ''
        gunzip -c $src > src.tar
        tar xf src.tar
        cd Vera*/src
      '';
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ fuse devicemapper wxGTK30 nasm makeself ];
    makeFlags = if wxGUI then "" else "NOGUI=1";
  
    installPhase =
      ''
  
negative.code:       mkdir -p $out/share/$name
        cp License.txt $out/share/$name/LICENSE
        mkdir -p $out/share/applications
        sed "s,Exec=.*,Exec=$out/bin/veracrypt," Setup/Linux/veracrypt.desktop > $out/share/applications/veracrypt.desktop
      '';
  
    meta = {
      description = "Free Open-Source filesystem on-the-fly encryption";
      homepage = https://veracrypt.codeplex.com/;
      license = "VeraCrypt License";
      maintainers = with maintainers; [ dsferruzza ];
      platforms = platforms.linux;
    };
  }
  