summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorpabloaledo <112545720+pabloaledo@users.noreply.github.com>2023-08-09 12:23:44 +0200
committerGitHub <noreply@github.com>2023-08-09 06:23:44 -0400
commitaf8c392de2a5c7c1b1ca1448964dbd4bab87c43a (patch)
tree09dc2fa94b2382ad5f28eb2088a3048adb6268ca /var
parent9aa3b4619b867e195ba74b0da6ed1db0039c331d (diff)
downloadspack-af8c392de2a5c7c1b1ca1448964dbd4bab87c43a.tar.gz
spack-af8c392de2a5c7c1b1ca1448964dbd4bab87c43a.tar.bz2
spack-af8c392de2a5c7c1b1ca1448964dbd4bab87c43a.tar.xz
spack-af8c392de2a5c7c1b1ca1448964dbd4bab87c43a.zip
fq: add new package (#39205)
Signed-off-by: Pablo <pablo.aledo@seqera.io>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/fq/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fq/package.py b/var/spack/repos/builtin/packages/fq/package.py
new file mode 100644
index 0000000000..46525e4877
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fq/package.py
@@ -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", ".")