fq: add new package (#39205)
Signed-off-by: Pablo <pablo.aledo@seqera.io>
This commit is contained in:
parent
9aa3b4619b
commit
af8c392de2
23
var/spack/repos/builtin/packages/fq/package.py
Normal file
23
var/spack/repos/builtin/packages/fq/package.py
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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 Fq(Package):
|
||||||
|
"""fq is a library to generate and validate FASTQ file pairs.
|
||||||
|
|
||||||
|
fq provides subcommands for filtering, generating, subsampling, and validating FASTQ files."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/stjude-rust-labs/fq"
|
||||||
|
url = "https://github.com/stjude-rust-labs/fq/archive/refs/tags/v0.10.0.tar.gz"
|
||||||
|
|
||||||
|
version("0.10.0", sha256="34007ab71a873e1b066d910e90c5bdac3dcc4299ae6c9891ac6d8233cffeabb8")
|
||||||
|
|
||||||
|
depends_on("rust")
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
cargo = which("cargo")
|
||||||
|
cargo("install", "--root", prefix, "--path", ".")
|
Loading…
Reference in New Issue
Block a user