summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/mash/package.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mash/package.py b/var/spack/repos/builtin/packages/mash/package.py
new file mode 100644
index 0000000000..bebcdd69af
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mash/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2021 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 import *
+
+
+class Mash(AutotoolsPackage):
+ """
+ Fast genome and metagenome distance estimation using MinHash.
+ """
+
+ homepage = "http://mash.readthedocs.org/"
+ url = "https://github.com/marbl/Mash/archive/refs/tags/v2.3.tar.gz"
+
+ maintainers = ['marcusboden']
+
+ version('2.3', sha256='f96cf7305e010012c3debed966ac83ceecac0351dbbfeaa6cd7ad7f068d87fe1')
+
+ conflicts('%gcc@11:', msg='mash cannot be build with gcc >= 11')
+
+ depends_on("autoconf", type='build')
+ depends_on("automake", type='build')
+ depends_on("libtool", type='build')
+ depends_on("m4", type='build')
+ depends_on("capnproto")
+ depends_on("gsl")
+
+ def configure_args(self):
+ args = []
+ args.append("--with-capnp=" + self.spec['capnproto'].prefix)
+ args.append("--with-gsl=" + self.spec['gsl'].prefix)
+ return args