text: # Copyright 2013-2022 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 HwProbe(MakefilePackage):
      """Hardware Probe Tool (hw-probe)."""
  
      homepage = "https://github.com/linuxhw/hw-probe"
      url      = "https://github.com/linuxhw/hw-probe/archive/1.5.tar.gz"
  
      version('1.5', sha256='8bb7d6ff272c1412e26fcfd86e9df5c3e34e1584552404b930c281b8498b25ea')
      version('1.4', sha256='90f3ea83bf641348b209e4a2a910f65d836ae7828c0be0f660236ea413bc46bb')
      version('1.3', sha256='820ada4f16cb827e0990eb918e75423845fef54a863fdd88aa5bd23127354229')
  
      def install(self, spec, prefix):
          make('install', 'prefix={0}'.format(prefix))
  