old_contents: from conans import ConanFile
  import os
  from conans.tools import download, unzip
  from conans import CMake
  
  class ArbitraryName(ConanFile):
      name = "catch"
      version = "1.3.0"
      branch = "stable"
      license = "Boost"
      generators = "cmake"
      url="http://github.com/TyRoXx/conan-catch"
      ZIP_FOLDER_NAME = "Catch-1.3.0"
  
      def source(self):
          zip_name = "catch.zip"
          download("https://github.com/philsquared/Catch/archive/v1.3.0.zip", zip_name)
          unzip(zip_name)
          os.unlink(zip_name)
  
      def package(self):
          self.copy("*.h*", "include", "%s/include" % self.ZIP_FOLDER_NAME, keep_path=True)
  
new_contents: from conans import ConanFile
  import os
  from conans.tools import download, unzip, check_sha256
  from conans import CMake
  
  class ArbitraryName(ConanFile):
      name = "catch"
      version = "1.3.0"
      branch = "stable"
      license = "Boost"
      generators = "cmake"
      url="http://github.com/TyRoXx/conan-catch"
      ZIP_FOLDER_NAME = "Catch-1.3.0"
  
      def source(self):
          zip_name = "catch.zip"
          download("https://github.com/philsquared/Catch/archive/v1.3.0.zip", zip_name)
          check_sha256(zip_name, "dd7e7d8f58033bfcd77fe842b749ad6a1ba46e61a3f9dba970181c95fdfe5c5b")
          unzip(zip_name)
          os.unlink(zip_name)
  
      def package(self):
          self.copy("*.h*", "include", "%s/include" % self.ZIP_FOLDER_NAME, keep_path=True)
  
subject: check SHA256 after the download from Github