diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-11 09:59:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 20:59:21 -0500 |
commit | ec6f13aefad4cf0d52eb310e5ebf610c66f50381 (patch) | |
tree | 8996743fcf940457516fd463b016d1f888a21d94 | |
parent | 6e4cf0898486040f245ad476d243eaf6d2df605e (diff) | |
download | spack-ec6f13aefad4cf0d52eb310e5ebf610c66f50381.tar.gz spack-ec6f13aefad4cf0d52eb310e5ebf610c66f50381.tar.bz2 spack-ec6f13aefad4cf0d52eb310e5ebf610c66f50381.tar.xz spack-ec6f13aefad4cf0d52eb310e5ebf610c66f50381.zip |
Add new package: lsscsi (#18953)
-rw-r--r-- | var/spack/repos/builtin/packages/lsscsi/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lsscsi/package.py b/var/spack/repos/builtin/packages/lsscsi/package.py new file mode 100644 index 0000000000..cfd51d454f --- /dev/null +++ b/var/spack/repos/builtin/packages/lsscsi/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2020 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 Lsscsi(AutotoolsPackage): + """Uses information provided by the sysfs pseudo file system in Linux + kernel 2.6 series to list SCSI devices or all SCSI hosts. Includes a + 'classic'option to mimic the output of 'cat /proc/scsi/scsi' that has + been widely used prior to the lk 2.6 series.""" + + homepage = "http://sg.danny.cz/scsi/lsscsi.html" + url = "http://sg.danny.cz/scsi/lsscsi-0.31.tgz" + + version('0.31', sha256='12bf1973014803c6fd6d547e7594a4c049f0eef3bf5d22190d4be29d7c09f3ca') + version('0.30', sha256='619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15') |