
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
25 lines
881 B
Python
25 lines
881 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 Sickle(MakefilePackage):
|
|
"""Sickle is a tool that uses sliding windows along with quality and
|
|
length thresholds to determine when quality is sufficiently low to trim
|
|
the 3'-end of reads and also determines when the quality is
|
|
sufficiently high enough to trim the 5'-end of reads."""
|
|
|
|
homepage = "https://github.com/najoshi/sickle"
|
|
url = "https://github.com/najoshi/sickle/archive/v1.33.tar.gz"
|
|
|
|
version('1.33', sha256='eab271d25dc799e2ce67c25626128f8f8ed65e3cd68e799479bba20964624734')
|
|
|
|
depends_on('zlib')
|
|
|
|
def install(self, spec, prefix):
|
|
mkdirp(prefix.bin)
|
|
install('sickle', prefix.bin)
|