summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fastp/package.py
blob: c8d4876fbd6f8e367c9b251e7574f888e012b7f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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.package import *


class Fastp(MakefilePackage):
    """A tool designed to provide fast
    all-in-one preprocessing for FastQ files."""

    homepage = "https://github.com/OpenGene/fastp"
    url = "https://github.com/OpenGene/fastp/archive/v0.20.0.tar.gz"

    version("0.20.0", sha256="8d751d2746db11ff233032fc49e3bcc8b53758dd4596fdcf4b4099a4d702ac22")

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        make("install", "PREFIX={0}".format(prefix))