summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/seqkit/package.py
blob: 69ad10b8350a21e191a38e0b3e4012e99fb1788e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Seqkit(Package):
    """A cross-platform and ultrafast toolkit for FASTA/Q file manipulation
    in Golang."""

    homepage = "https://bioinf.shenwei.me/seqkit"
    url = (
        "https://github.com/shenwei356/seqkit/releases/download/v0.10.1/seqkit_linux_amd64.tar.gz"
    )

    version("0.10.1", sha256="82f1c86dc4bd196403a56c2bf3ec063e5674a71777e68d940c4cc3d8411d2e9d")

    def install(self, spec, prefix):
        mkdir(prefix.bin)
        install("seqkit", prefix.bin)