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