centrifuge: add new package (#42168)

* centrifuge: add new package
* fix styling
This commit is contained in:
Christopher Christofi 2024-01-19 00:03:52 +00:00 committed by GitHub
parent 4d54688782
commit b54a69e8d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,21 @@
# Copyright 2013-2024 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.package import *
class Centrifuge(MakefilePackage):
"""Classifier for metagenomic sequences."""
homepage = "https://ccb.jhu.edu/software/centrifuge/index.shtml"
url = "https://github.com/DaehwanKimLab/centrifuge/archive/refs/tags/v1.0.4.tar.gz"
version("1.0.4", sha256="929daed0f84739f7636cc1ea2757527e83373f107107ffeb5937a403ba5201bc")
def build(self, spec, prefix):
make()
def install(self, spec, prefix):
make("install", "prefix=" + prefix)