summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fastx-toolkit/package.py
blob: c310f7a29bbeb3e6cee8a0e65a6d8840e5569b29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2023 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 FastxToolkit(AutotoolsPackage):
    """The FASTX-Toolkit is a collection of command line tools for
    Short-Reads FASTA/FASTQ files preprocessing."""

    homepage = "http://hannonlab.cshl.edu/fastx_toolkit/"
    url = "https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2"

    license("AGPL-3.0-only")

    version("0.0.14", sha256="9e1f00c4c9f286be59ac0e07ddb7504f3b6433c93c5c7941d6e3208306ff5806")

    depends_on("libgtextutils")

    # patch implicit fallthrough
    patch("pr-22.patch")
    # fix error [-Werror,-Wpragma-pack]
    patch("fix_pragma_pack.patch", when="%fj")