spack/var/spack/repos/builtin/packages/halc/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
950 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 Halc(MakefilePackage):
"""HALC is software that makes error correction for long reads with
high throughput."""
homepage = "https://github.com/lanl001/halc"
url = "https://github.com/lanl001/halc/archive/v1.1.tar.gz"
version('1.1', sha256='79675c3d6c40f567c2e1a5b5e7ec4fb150036582054f6ad079e06b73bd71c1ad')
depends_on('blasr', type='run')
depends_on('lordec', type='run')
depends_on('dos2unix', type='build')
depends_on('python', type='run')
parallel = False
def install(self, spec, prefix):
install_tree('bin', prefix.bin)
install('runHALC.py', prefix.bin)
dos2unix = which('dos2unix')
dos2unix(join_path(self.prefix.bin, 'runHALC.py'))