anchor.diff:      fi
     '');
   
  -in python2Packages.buildPythonApplication rec {
  +in buildPythonApplication rec {
     name = "pykms-${version}";
  -  version = "20170719";
  +  version = "20171224";
   
     src = fetchFromGitHub {
       owner  = "ThunderEX";
       repo   = "py-kms";
  -    rev    = "27355d88affd740330174a7c2bae9f50b9efce56";
  -    sha256 = "0cpywj73jmyijjc5hs3b00argjsdwpqzmhawbxkx3mc2l4sgzc88";
  +    rev    = "885f67904f002042d7758e38f9c5426461c5cdc7";
  +    sha256 = "155khy1285f8xkzi6bsqm9vzz043jsjmp039va1qsh675gz3q9ha";
     };
   
  -  propagatedBuildInputs = with python2Packages; [ argparse pytz ];
  +  propagatedBuildInputs = [ argparse pytz ];
   
     prePatch = ''
  -    siteDir=$out/${python2Packages.python.sitePackages}
  +    siteDir=$out/${python.sitePackages}
   
       substituteInPlace kmsBase.py \
         --replace "'KmsDataBase.xml'" "'$siteDir/KmsDataBase.xml'"
  
positive.code:     mv * $siteDir
      for b in client server ; do
        chmod 0755 $siteDir/$b.py
        makeWrapper ${python2Packages.python.interpreter} $out/bin/$b.py \
          --add-flags $siteDir/$b.py
      done
  
  
negative.code: 
      mv $siteDir/README.md $out/share/doc/pykms/
  
      ${python.interpreter} -m compileall $siteDir
  
      runHook postInstall
    '';
  