spack/var/spack/repos/builtin/packages/casper/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00

30 lines
1017 B
Python

# Copyright 2013-2019 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 Casper(MakefilePackage):
"""CASPER (Context-Aware Scheme for Paired-End Read) is state-of-the art
merging tool in terms of accuracy and robustness. Using this
sophisticated merging method, we could get elongated reads from the
forward and reverse reads."""
homepage = "http://best.snu.ac.kr/casper/index.php?name=main"
url = "http://best.snu.ac.kr/casper/program/casper_v0.8.2.tar.gz"
version('0.8.2', sha256='3005e165cebf8ce4e12815b7660a833e0733441b5c7e5ecbfdccef7414b0c914')
depends_on('jellyfish@2.2.3:')
depends_on('boost')
conflicts('%gcc@7.1.0')
def install(self, spec, prefix):
install_tree('.', prefix)
def setup_environment(self, spack_env, run_env):
run_env.prepend_path('PATH', self.spec.prefix)