summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-03-28 16:50:21 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-03-28 18:50:21 -0500
commit5f3e9a791fdf15f71ad63d1c54f4ff60bf211979 (patch)
tree5375f938eb0466757e517a64539956bc8a5bb903
parent42f9040dfe592b265d0084d60d126be6c1e1438a (diff)
downloadspack-5f3e9a791fdf15f71ad63d1c54f4ff60bf211979.tar.gz
spack-5f3e9a791fdf15f71ad63d1c54f4ff60bf211979.tar.bz2
spack-5f3e9a791fdf15f71ad63d1c54f4ff60bf211979.tar.xz
spack-5f3e9a791fdf15f71ad63d1c54f4ff60bf211979.zip
Nextflow versions 0.24.1 and 0.23.3 (#3597)
Add support for nextflow versions 0.24.1 and 0.23.3.
-rw-r--r--var/spack/repos/builtin/packages/nextflow/package.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/nextflow/package.py b/var/spack/repos/builtin/packages/nextflow/package.py
index 54f3dbf915..563ecd9b40 100644
--- a/var/spack/repos/builtin/packages/nextflow/package.py
+++ b/var/spack/repos/builtin/packages/nextflow/package.py
@@ -30,12 +30,19 @@ class Nextflow(Package):
homepage = "http://www.nextflow.io"
+ version('0.24.1', '80ec8c4fe8e766e0bdd1371a50410d1d',
+ expand=False)
+ version('0.23.3', '71fb69275b6788af1c6f1165f40d362e',
+ expand=False)
version('0.20.1', '0e4e0e3eca1c2c97f9b4bffd944b923a',
- url='https://github.com/nextflow-io/nextflow/releases/download/v0.20.1/nextflow',
expand=False)
depends_on('jdk')
+ def url_for_version(self, version):
+ base_url = 'https://github.com/nextflow-io/nextflow/releases/download/v{0}/nextflow'
+ return base_url.format(version)
+
def install(self, spec, prefix):
mkdirp(prefix.bin)
install("nextflow", join_path(prefix.bin, "nextflow"))