
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
837 B
Python
25 lines
837 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 Platypus(Package):
|
|
"""A Haplotype-Based Variant Caller For Next Generation Sequence Data"""
|
|
|
|
homepage = "http://www.well.ox.ac.uk/platypus"
|
|
url = "http://www.well.ox.ac.uk/bioinformatics/Software/Platypus-latest.tgz"
|
|
|
|
version('0.8.1', sha256='a0f39e800ebdc5590e9b568a791bc6746df0fde4d1c3622140db64dea175622b')
|
|
|
|
depends_on('python@2.6:', type=('build', 'run'))
|
|
depends_on('py-cython', type='build')
|
|
depends_on('htslib')
|
|
|
|
def install(self, spec, prefix):
|
|
build_platypus = Executable('./buildPlatypus.sh')
|
|
build_platypus()
|
|
install_tree('.', prefix.bin)
|