old_contents: # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
  # Spack Project Developers. See the top-level COPYRIGHT file for details.
  #
  # SPDX-License-Identifier: (Apache-2.0 OR MIT)
  
  from spack import *
  
  
  class Corset(Package):
      """Corset is a command-line software program to go from a de novo
         transcriptome assembly to gene-level counts."""
  
      homepage = "https://github.com/Oshlack/Corset/wiki"
      url      = "https://github.com/Oshlack/Corset/releases/download/version-1.06/corset-1.06-linux64.tar.gz"
  
      version('1.06', sha256='4aff83844461cea1edfce3d89776236c300650fc02b497cc9f11eba42d161b60')
  
      def url_for_version(self, version):
          url = 'https://github.com/Oshlack/Corset/releases/download/version-{0}/corset-{0}-linux64.tar.gz'
          return url.format(version)
  
      def install(self, spec, prefix):
          mkdirp(prefix.bin)
          install('corset', prefix.bin)
          install('corset_fasta_ID_changer', prefix.bin)
  
new_contents: # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
  # Spack Project Developers. See the top-level COPYRIGHT file for details.
  #
  # SPDX-License-Identifier: (Apache-2.0 OR MIT)
  
  from spack import *
  
  
  class Corset(Package):
      """Corset is a command-line software program to go from a de novo
         transcriptome assembly to gene-level counts."""
  
      homepage = "https://github.com/Oshlack/Corset/wiki"
      url      = "https://github.com/Oshlack/Corset/releases/download/version-1.09/corset-1.09-linux64.tar.gz"
  
      version('1.09', sha256='9c349afc5a66c43e6b73c62f5d3166dac2fd06696aa40cff648226a5d0427a59')
      version('1.06', sha256='4aff83844461cea1edfce3d89776236c300650fc02b497cc9f11eba42d161b60')
  
      def url_for_version(self, version):
          url = 'https://github.com/Oshlack/Corset/releases/download/version-{0}/corset-{0}-linux64.tar.gz'
          return url.format(version)
  
      def install(self, spec, prefix):
          mkdirp(prefix.bin)
          install('corset', prefix.bin)
          install('corset_fasta_ID_changer', prefix.bin)
  
subject: add v1.09 (#24419)